David Skrundz

Results 4 comments of David Skrundz

Currently I'd recommend using NSRegularExpression or another well-known C library. The slowness is due to running an NFA. I have plans to rewrite the library using a DFA but I...

I'm unable to reproduce the crash with ```Swift func testCrash() { let myRegex = try! Regex("/some/([\\w\\d\\s,]+)/ig") print(myRegex.match("/some/some123 some")) } ``` I am getting the following output ``` [Regex.RegexMatch(match: "some/some123 some",...

Can you try the regex `/\\/some\\/([\\w\\d\\s,]+)/ig`? If that doesn’t work I’ll need a minimal sample program that crashes to debug the issue.

The compiler is using the implementation of `From for T` here. You can define your own to construct a `MyResponder`: impl From for MyResponder { fn from(value: T) -> Self...