Menu

#24 Compilation Issue when using grouping and quantification.

open
nobody
None
5
2011-10-11
2011-10-11
No

I am unable to compile regular expressions that use quantification in combination with grouping. A simple example is:

(?>abc){5}

which gives runtime exception 'Exception in thread "main" jregex.PatternSyntaxException: can't iterate this type: 43'.

This compiles fine using the java.util.regex Pattern class.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.