G
14

My regex script melted my brain for 3 hours, turns out I needed one character

Last night I was pulling my hair out trying to match phone numbers in a CSV and kept getting nothing back, turns out I forgot the escape slash on the parentheses and it was reading it as a group instead of a literal character. Anyone else hit a wall like that where the fix was super tiny but took forever to spot?
1 comments

Log in to join the discussion

Log In
1 Comment
mason.mark
mason.mark26d ago
Knew a guy who spent two days debugging a CSS thing, turned out he had a typo in a class name and the page loaded fine in his head the whole time. Funny how the tiny stuff always trips you up the hardest.
4