Homepage
Open in app
Codesnips
Sign in
Get started
Tagged in
Programming
Codesnips
A personal collection of coding dos and don’ts
More information
Followers
2
Elsewhere
More, on Medium
Programming
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