3 ms·
No, I mean $ usually means end-of-string (or end-of-line) in regexps. But TIL in BREs, $ means literal character in the middle of an expression: https://pubs.o
by jwilk 6y ago
No, I mean $ usually means end-of-string (or end-of-line) in regexps. But TIL in BREs, $ means literal character in the middle of an expression:
https://pubs.opengroup.org/onlinepubs/007904975/basedefs/xbd_chap09.html#tag_09_03_08 https://pubs.opengroup.org/onlinepubs/007904975/basedefs/xbd...
- formerly_proven 6y agoOh I see now, I never thought about $ being usable anywhere except at the end as an anchor!