https://www.w3.org/Bugs/Public/show_bug.cgi?id=19778
Cameron McCormack <cam@mcc.id.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Cameron McCormack <cam@mcc.id.au> ---
But there is also the statement:
When tokenizing, the longest possible match MUST be used.
just below those that in the spec. So I think it should be fine. The order of
the alternation shouldn't matter if you are just using the regular expressions
for testing. But if you are doing something like:
if ($input =~ s/^float_regex//) {
} elsif ($input =~ s/^integer_regex//) {
} elsif ($input =~ s/^identifier_regex//) {
} ...
then you could run in to trouble. I've switched it around in case people are
directly using the regexes like this.
--
You are receiving this mail because:
You are on the CC list for the bug.