noam icon indicating copy to clipboard operation
noam copied to clipboard

How to use this for real (programming) regexes?

Open AJMansfield opened this issue 11 years ago • 2 comments

The language that this library parses uses a different set of symbols as the operators than the type commonly used by regex libraries in most programming languages: using + instead of | for alternation, and no + (one or more), {n} (exactly n copies), ? (optional), or other operators (although they can all be expanded into expressions involving only the alternation and kleene operators). How can I use this library with the more common regex dialect instead?

AJMansfield avatar Mar 19 '14 19:03 AJMansfield

@AJMansfield care to explain what you're having problems with?

izuzak avatar Mar 21 '14 20:03 izuzak

I think he was most likely expecting the Perl Compatible Regular Expressions language set, but your usage of "Kleene operator" suggests a different set.

PlNG avatar Nov 14 '14 22:11 PlNG