New answers tagged

1

C-hig (elisp)Regexp Backslash \` matches the empty string, but only at the beginning of the buffer or string being matched against. \' matches the empty string, but only at the end of the buffer or string being matched against. AKA bos and eos (for beginning/end-of-string) in rx syntax. Hence: (replace-regexp-in-string "\\`[^{]*\\|...


Top 50 recent answers are included