Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
johnnymellor
11 months ago
|
parent
|
context
|
favorite
| on:
Show HN: Transductive regular expressions for text...
If I understand correctly the following ttre expression does what you're asking for:
":'(':(\\')|[^"'])*":'
tomashubelbauer
11 months ago
|
next
[–]
So this is how it feels to read a regex when you don't know how to regex.
layer8
11 months ago
|
prev
|
next
[–]
Good point, I didn't think of that solution.
c0nstantine
11 months ago
|
prev
[–]
Thank you for doing my work! :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: