variable length element within a lookbehind assertion
Brought to you by:
samokhodkin
firstly, i know it's not a real bug, because i found in
the source code it is the expected behaviour. but in a
lot of other regular expression libraries, this kind of
regular expression is well supported, so why just
jregex doesn't support this feature?
i test this kind of regex, and it failed with a
PatternSyntaxException "variable length element within
a lookbehind assertion":
(?<=AA.{10}).*\r\n
what is the consideration of this kind of design? and
can it be supported in latter versions?
thanks a lot