Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried to follow a middle-of-the-road works mostly everywhere made up flavour. Here is a grammar for it:

https://blog.robertelder.org/regular-expression-parser-gramm...

I may add to it in the future if there is enough interest. At the moment it doesn't support a few common things like word breaks and backreferences, but I don't think it'd be too hard to add.



Any chance of open sourcing it so we can contribute some regex features to your awesome project? :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: