Y
Hacker News
new
|
ask
|
show
|
jobs
by
johnnymellor
492 days ago
If I understand correctly the following ttre expression does what you're asking for:
":'(':(\\')|[^"'])*":'
3 comments
tomashubelbauer
491 days ago
So this is how it feels to read a regex when you don't know how to regex.
link
layer8
491 days ago
Good point, I didn't think of that solution.
link
c0nstantine
491 days ago
Thank you for doing my work! :)
link