[Issue 5726] New: boyerMooreFinder hangs when finding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 10 08:16:53 PST 2011


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

           Summary: boyerMooreFinder hangs when finding
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: ntrel-public at yahoo.co.uk


--- Comment #0 from Nick Treleaven <ntrel-public at yahoo.co.uk> 2011-03-10 08:13:51 PST ---
import std.algorithm;

void main()
{
    auto bm = boyerMooreFinder("for");
    auto match = find("Moor", bm);
}

With dmd v2.051 this causes the program to hang. (I checked latest git sources
and they appear the same re:BMF so this probably happens with 2.052 too).

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