Homepage
Open in app
Codesnips
Sign in
Get started
Archive of stories published by Codesnips
All
Sort by most read
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
About
Codesnips
A personal collection of coding dos and don’ts
More information
Tags
Programming
Regex
JavaScript
Editors
Luis Aguilar