do any editors support syntax highlighting regexes...
# random
w
do any editors support syntax highlighting regexes when you use them in search?
and next-level: do any support syntax highlighting in the relevant language while also highlighting for regex syntax?
h
In search, you mean like the editor’s functionality to search for code snippets and file names?
w
yea
e.g. a search like:
Copy code
class MyCl.*
… would have
class
highlighted for the language of the file, and
.*
highlighted because regex
(this so, so doesn’t matter. just a #random thought)
h
Not that I’m aware of. I personally always use ripgrep for regex searches
w
yea… i was using
vi
when i thought of this. and i use a dumb shell, so maybe this exists in some of them.
e
Sortof?:
The syntax highlighting is only for the current selected match of the many in the window below.
w
mm, pretty.