in reply to Re: Pattern Matching Question
in thread Pattern Matching Question
Another way would be to use a non-greedy expression in the capture, /"(.*?)"/
Uhm, not quite. You'd have to use /"(.*?)"/s. Furthermore, if you would embed the regex in a larger one, "[^"*]" would never match a double quote inside the other ones, while ".*?" may.
Abigail
|
|---|