Summary: Lazy quantifiers fail with ctRegex
--- Comment #0 from Jameson <beatgam...@gmail.com> 2012-02-23 09:30:07 PST ---
ctRegex fails to compile some regular expressions that regex does.
Steps to reproduce:
The following regular expressions fail with ctRegex, put work with regex
compiled at runtime:
I get the following error:
/usr/include/d/dmd/phobos/std/regex.d(6486): found 'else' instead of statement
I expected ctRegex to behave the same as regex, and compile the same set of
The following regular expressions work with both:
It seems to be a problem with having a lazy quantifier followed by the ?.
I am building a regex to parse URIs:
This works fine with the regex function, but breaks when I use ctRegex.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------