Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
johnnymellor
· 1y ago · 0 comments
If I understand correctly the following ttre expression does what you're asking for:
":'(':(\\')|[^"'])*":'
Comments
[–]
tomashubelbauer
1y ago
So this is how it feels to read a regex when you don't know how to regex.
[–]
layer8
1y ago
Good point, I didn't think of that solution.
[–]
c0nstantine
1y ago
Thank you for doing my work! :)