11/19/2012 11:55 AM, Aquiles пишет:
Hello,
While instantiating a floating point regex using
ctRegex!"\\b[-+]?([0-9]*\\.[0-9]+|[0-9]+)\\B", I got a compiler error
(see below.) The offending character seems to be '|' and when escaped it
compiles.
I can reproduce it with a simpler regex:
assert
Hello,
While instantiating a floating point regex using
ctRegex!"\\b[-+]?([0-9]*\\.[0-9]+|[0-9]+)\\B", I got a compiler
error (see below.) The offending character seems to be '|' and
when escaped it compiles.
I can reproduce it with a simpler regex:
assert ( match("A", ctRegex!"A|B") );
as