27 Sep
2024
27 Sep
'24
2:24 p.m.
On Fri Sep 27 13:55:48 2024 +0000, Jinoh Kang wrote:
```suggestion:-0+0 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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6574#note_83561