Homepage
Open in app
Codesnips
Sign in
Get started
Tagged in
Regex
Codesnips
A personal collection of coding dos and don’ts
More information
Followers
2
Elsewhere
More, on Medium
Regex
Luis Aguilar
in
Codesnips
Apr 2, 2019
JS: Careful when reusing regex
Turns out I had to be more careful when running multiple strings through the same regex.
So I needed to extract a cookie value right from the header (a cookie parser wasn’t an option)…
Read more…
190
2 responses