Homepage
Open in app
Sign in
Get started
Codesnips
A personal collection of coding dos and don’ts
Follow
Luis Aguilar
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
About Codesnips
Latest Stories
Archive
About Medium
Terms
Privacy
Teams