Closed shreepads closed 9 years ago
EDIT: range will apply to the succeeding character expression.
Created branch regexrange for this issue
Single range done - with tests - in regexrange branch. A little ugly, but works.
This covers the Generative method capability.
Next up - multiple ranges
Done in regexrange branch. Merging into baseopenmp.
Allow the user to specify a min-max range for the succeeding character expression, e.g. {3,5}[abc] would represent at least 3 occurrences of [abc] and at most 5.
See: https://en.wikipedia.org/wiki/Regular_expression#POSIX_basic_and_extended
This allows for a complete replacement of the Generative method by the Pattern method.