ctregex.zig icon indicating copy to clipboard operation
ctregex.zig copied to clipboard

*, +, ? don't backtrack

Open kivikakk opened this issue 4 years ago • 0 comments

Here's some simple test cases demonstrating this:

    try testMatch("a*a", .ascii, "aa");
    try testMatch("a+a", .ascii, "aa");
    try testMatch("a?a", .ascii, "a");

These should all pass, but currently all fail. I'm currently staring down the main file to see how I might implement it, but I might not come through with the goods.

kivikakk avatar Aug 18 '20 10:08 kivikakk