Closed jrkettle closed 10 years ago
Can you include a perl snippet that exhibits the bad behavior? Thanks
s{foo.*}{bar}
s[foo.*][bar]
The first regex won't have any highlighting. The problem looks worse if you include a single/double quote inside the regex. Everything after that quote is treated as a string until the next unmatched single/quote.
Great, thanks for this :+1:
The end regex was matching on the open brace in the lookahead.