3 ms·
I really enjoyed the article! By the way, you mentioned using word boundaries in regexes to replace variable names. GNU Emacs regexes can actually include "sym
by owernonvl 10y ago
I really enjoyed the article!
By the way, you mentioned using word boundaries in regexes to replace variable names. GNU Emacs regexes can actually include "symbol boundaries" (which are a little better for variable names than word boundaries), represented as "\_<symbol\_>". Personally, I like using the "highlight-symbol" package, which provides the "highlight-symbol-query-replace" command to basically execute M-% for the symbol at point.
- mzucker 10y agoCool - will check it out!