Hello Martin,
My name is Alan Post. I subscribed to the list shortly after starting
to use beancount. This is my first post. I would use this feature too;
Please excuse my laziness in not checking the source code, but if I
had to guess it's that you want to restrict account names to starting
with a ~letter, permit things like numbers in the second position, and
match one or more rather than zero or more characters. Roughly the code
behaves like:
[a-z][a-z0-9]+
rather than:
[a-z][a-z0-9]*
If it is that easy and you think this kind of change is acceptable, I'd
be happy to try my hand at producing a patch. (I know the details in
the code may be whelmingly different; I'm going for brevity over email)
I will obviously be pleased just to have the feature if you don't want
to try coordinating such a change.
Thank you for considering Luciano's request, and for beancount,
-A