Closed FichteFoll closed 6 years ago
It does if you stick an s
before the /
- I had the impression that it is necessary, no?
@keith-hall the css package doesn't do it... 🤷♂️
Ehm yeah, I seem to remember reading contexts that do this. Yes, the s
is required and the syntax does indeed already help you spot that issue (at least if you know that regex replacements are highlighted).
Carry on.
Actually, I just tested it and as @runxel mentioned the s
is in fact not required. Talk about intuitivity.
Why does the s
do anyway?
Found no explanation on this topic...
It's short for "substitution" and frequently used to denote a regex replacement in old-ish tools like vim
, ed
, sed
et al (and perl).
You also see it used in IRC occasionally to correct a spelling or other mistake due to this.
Random example file: