[Issue 8725] segmentation fault with negative-lookahead in module-level regex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 25 22:32:18 PDT 2012


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



--- Comment #1 from Val Markovic <val at markovic.io> 2012-09-25 22:33:03 PDT ---
Oh, and the segfault goes away if I put the regex creation directly in the
call, like so:

  writeln( replace( input, regex( r"\*
                                  (?!\s+)
                                  (.*?)
                                  (?!\s+)
                                  \*", "gx" ), "<i>$1</i>" ) );

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