>>>>> "d" == dblack <dblack@superlink.net> writes:
d> So apparently if a { is encountered, the algorithm is:
d> 1. is there a previous pattern to apply it to?
d> a. no: error
d> b. yes: is it a plausible {} range?
d> i. yes: apply it
d> ii. no: treat it as a literal string
it's a little more complex than this :-))
See the file regexp.test in rubicon to find the rules.
Guy Decoux