[Issue 11765] std.regex: Negation of character class is not applied to base class first
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 18 11:56:15 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11765
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry.olsh at gmail.com
--- Comment #2 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-12-18 11:56:14 PST ---
(In reply to comment #0)
> I'm not sure whether this is just how ECMAScript does it (since std.regex
> references it), but e.g. .NET does negation on the base class first (The "1"
> class above) and *then* it does subtraction with another class.
ECMAScript doesn't even have it AFAIK ;)
I think you (and .NET) are right - the prioriy of unary '^' operator should be
higher then that of any other binary ops.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list