J
John
I am having a lot of trouble creaing the following regex :
Match a quoted string unless it is preceded by '--', the '--' can only
be preceded by whitespace.
e.g for a target string of :
DISPLAY-HINT "1x:"
"1x:" should be matched
for a target string of :
-- DISPLAY-HINT "1x:"
nothing should be matched.
Any help would be much appreciated.
John.
Match a quoted string unless it is preceded by '--', the '--' can only
be preceded by whitespace.
e.g for a target string of :
DISPLAY-HINT "1x:"
"1x:" should be matched
for a target string of :
-- DISPLAY-HINT "1x:"
nothing should be matched.
Any help would be much appreciated.
John.