2 May
2004
2 May
'04
11:22 a.m.
the following pattern (35 matching token, and at least one more) with this simple expression ("[_]+$") throws "memory exhausted" when using wchar_t strings. the same works with char strings even triple sized. matching doesnt throw, if we use "^[_]+$", "[_]{1,}$", "[_][_]*$" etc. so this is a bug.
Confirmed, it's a bug, I'm testing the fix now.
another issue: i think, "(one|two|three|)" style alternation (notice the empty string on the right) should be accepted and handled as "(one|two|three)?" now it throws bad_expression
I'm not sure about this one, Boost.regex has always deliberately rejected that, and although I realise that perl5 does accept this, perl6 will regard it as an error I believe. Thanks, John.