[Issue 8529] ctRegex - named submatch - hash-table exception

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 10 01:08:32 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8529



--- Comment #4 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-03-10 01:08:30 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> > Reported on v2.060 (but no version seems to work).
> > 
> > The code is based on the opIndex example from:
> > http://dlang.org/phobos/std_regex.html#regex
> > 
> > The normal regex version is functional, but when converting to ctRegex, the
> > hashtable lookup throws.(
> > 

Turns out it's not hashtable but rather binary search on a broken array :(
The good news is that the fix turns out to be trivial.

-- 
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