Hm, this cannot work; the regex includes a comma, which starts a new macro argument. The generator is dumb, just splitting the string by comma and taking each section as a function argument, resulting in an incomplete regular expression as well as an ignored last argument.

So, parser has to be made more clever, either allowing escaping of characters in the regex, or grep'ing between quotes (but then you can't have quotes in the character set, unless I introduce escaping anyway.

Any preferences? If we don't care about the versioning in the output, then this problem goes away (it's still a limitation of the generator's macro support, but we can live with it then).