Extensions to highlight different parts of regex reddit / emacs ---------------------------------------------------------------------- EmilySeville7cfg · 2022-12-21 03:00 Are there any extensions knowing what functions and where accept regex and highlighting regex syntax? ---------------------------------------------------------------------- jaafartrull · 2022-12-21 03:21 We need to catch up with neovim on this one https://github.com/bennypowers/nvim-regexplainer ---------------------------------------------------------------------- 00-11 · 2022-12-21 06:19 I don't understand what you're asking. But if you're asking about libraries that highlight matches of different parts (e.g. groups) of regexp matches differently (e.g. different colors), then both [Isearch+](https://www.emacswiki.org/emacs/IsearchPlus) and [Icicles](https://www.emacswiki.org/emacs/Icicles) do that. [With isearch](https://www.emacswiki.org/emacs/IsearchPlus#RegexpGroup Highlighting) and [with Icicles search](https://www.emacswiki.org/emacs/Icicles_- _Search_Commands%2c_Overview#SearchHighlightingContextLevels). ---------------------------------------------------------------------- nv-elisp · 2022-12-21 06:33 see: https://github.com/joddie/pcre2el and: https://github.com/mattiase/xr ---------------------------------------------------------------------- KirmTwinty · 2022-12-21 07:36 I personnaly use [visual-regexp-on- steroids](https://github.com/emacsmirror/visual-regexp-steroids) ---------------------------------------------------------------------- EmilySeville7cfg · 2022-12-21 08:12 It's not what I am looking for but anyway thanks as suggested plugins are seems to be useful for me. :) I want regex strings in ELisp source code for instance to be colorized. ---------------------------------------------------------------------- Khoulaiz · 2022-12-21 10:15 Depending on you use case, this might be interesting for you as well. [https://github.com/alk/elisp-regex-dsl](https://github.com/alk/elisp- regex-dsl) That's what I use in my elisp code. ---------------------------------------------------------------------- Dj_Optimus_Rhyme · 2022-12-21 12:49 This is an excellent package, I always recommend it to my colleagues ---------------------------------------------------------------------- luiggi_oasis · 2022-12-21 16:35 Neato! Imagine something like regex101-at-point. Their explainer is awesome.