On Fri Sep 27 13:55:48 2024 +0000, Jinoh Kang wrote:
if (wcsstr(regexp + 1, L"^")) FIXME("metacharacter '^' found after first char\n"); If (wcscspn(regexp, L"$") + 1 < wcslen(regexp)) FIXME("metacharacter '$' found before last char\n");
(To implement these FIXMEs, we should never match regexes like `$nevermatches^` but still match `$.*` (untested)).
I've added some test cases and they happen to pass already. Can you check that I did it right?