3 ms·
Yup. See my response to the other sibling comment. In particular: (\bdog\w*)|(\w*cat\b) Seems to behave exactly like I want. https://regex101.com/r/f3uJU
by codetrotter 4y ago
Yup. See my response to the other sibling comment. In particular:
(\bdog\w*)|(\w*cat\b)
Seems to behave exactly like I want.
https://regex101.com/r/f3uJUE/1 https://regex101.com/r/f3uJUE/1