Hacker News new | ask | show | jobs
by unlinkr 2476 days ago
That pattern would indeed match a quoted string. I don't see how it would matter if the quoted string contains something like "<input". It can contain anything except a quote character.
1 comments

It just makes the starting offset of the regex input important.
Sure. But that would be true for any parsing technique. No parser known to man would be able to produce a valid parse if you start it in the middle of a quoted string!