Hans Leidekker (@hans) commented about programs/findstr/main.c:
static BOOL match_regexp(const char *str, const char *regexp, BOOL case_sensitive) { if (strstr(regexp, "[")) FIXME("character ranges (i.e. [abc], [^a-z]) are not supported\n"); - if (strstr(regexp, "\\<") || strstr(regexp, "\\>")) FIXME("word position (i.e. \\< and \\>) not supported\n"); + if (strstr(regexp, "\\>")) FIXME("end of word position (i.e. \\>) not supported\n"); + + if (regexp[0] == '\\' && regexp[1] == '<') return match_here(str, regexp, 2, case_sensitive); This only implements \< at the beginning of the regular expression and only if the string to match starts with a word. We should at least keep the FIXME.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10294#note_131794