[Issue 5674] AssertError in std.regex
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 20 04:08:44 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5674
Dmitry Olshansky <dmitry.olsh at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmitry.olsh at gmail.com
--- Comment #4 from Dmitry Olshansky <dmitry.olsh at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list