Hello,
I wrote a regex to match some stuff. It’s essentially matching some PHP code. I want to be able to match the quotation marks, but only the pairs.
So, for example, if I have something like:
'"['"]
I want the second ['"] to only match the same one as the first, so:
“A”
‘A’
should match, but not
“A’
'A”
(and ultimately) “Something ‘random’”
Any ideas?
Thanks.