Lookaheads / lookbehinds are counted as groups
Brought to you by:
samokhodkin
Lookaheads / lookbehinds are counted as groups, which is incorrect and incompattible with standard java library.
java.util.regex.Pattern.compile("(?!xyz)").matcher("").groupCount() // 0 new jregex.Pattern("(?!xyz)").matcher("").groupCount() // 1 - WRONG!
This is actually preventing me from using the library entirely :(