Bracket-Pair-Colorizer-2 icon indicating copy to clipboard operation
Bracket-Pair-Colorizer-2 copied to clipboard

using brackets as characters in regex pattern, is interpreted as code brackets

Open yoshkinawa opened this issue 4 years ago • 1 comments

As you can see in the images, a regex search using the pattern /(/ or /[(]/ thinks the bracket symbol is an opening of new brackets instead of a pattern to search. (in this case this is JavaScript)

Code_dHHTh2M4y2 Code_GKjm4OEwLV

yoshkinawa avatar Dec 01 '20 14:12 yoshkinawa