http://d.puremagic.com/issues/show_bug.cgi?id=5674
Dmitry Olshansky <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Dmitry Olshansky <[email protected]> 2011-04-20 04:04:53 PDT --- (In reply to comment #3) > Created an attachment (id=939) [details] > This patch fixes the problems with unmatched groups in a match. Acctually I'm working on fixing all of the issues of std.regex, see this pull request https://github.com/D-Programming-Language/phobos/pull/22 There is a litle problem with your patch. If the match is empty (there are such regexes) or there is not match RegexMatch.hit still happily returns "", maybe it's better to let it hit assert on no match just like it was to enforce checking of empty. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
