std.regex bug? My regex doesn't match what it's supposed to.

Alex Folland lexlexlex at gmail.com
Thu Feb 3 07:03:31 PST 2011


I figured out the bug.  Inside a set of square brackets, \s doesn't 
match whitespace.  It matches s instead.  I'm uncertain exactly how the 
ECMA-262 part 15.10 regular expression specification is meant to handle 
that situation.


More information about the Digitalmars-d-learn mailing list