Dervall / Piglet

An easier to use parsing and lexing tool that is configurable in fluent code without a pre-build step.
binarysculpting.com
MIT License
91 stars 11 forks source link

Improved error message for unsupported regular expression features #29

Closed Dervall closed 12 years ago

Dervall commented 12 years ago

When using things such as backreferences and lookahead and lookbehind and look-in-some-place-piglet-does-not-support the error message should be appropriate given the situation. A specialized UnsupportedXXX should be thrown to highlight to the user that the expression IS valid, but Piglet does not or can not support this feature.

Dervall commented 12 years ago

I am not going to fix this. Piglets regular expression engine will be different, and if you write \1 or whatever you will get an error since it's an unsupported escape.