Skip to main content
8 events
when toggle format what by license comment
Jul 20, 2023 at 0:10 comment added phils Indeed; emacs.stackexchange.com/q/5568/454 may also be useful reading on that point.
Jul 19, 2023 at 22:45 comment added nega @phils force of habit from my backslash-phobia :) speaking of which @nickd neglected to mention that you need to do C-c TAB string RET in re-buildier to select the "replace-regex" style of regexes, otherwise you'll have to translate multiple blackslashes yourself
Jul 19, 2023 at 22:12 comment added phils @nega: Or far more sanely: ||
Jul 19, 2023 at 19:40 comment added NickD You might find re-builder helpful when constructing regexps: do M-x re-builder in the above buffer (best to have it in a single window in the frame) and type you regexp; it will show you what is matched at every stage.
Jul 19, 2023 at 17:58 comment added nega as @shynur mention you've got two logical OR's, not two escaped pipe characters. try [|][|] or [|]\{2\} instead
Jul 19, 2023 at 17:42 vote accept daedsidog
Jul 19, 2023 at 16:41 answer added shynur timeline score: 2
Jul 19, 2023 at 16:10 history asked daedsidog CC BY-SA 4.0