Skip to main content
6 events
when toggle format what by license comment
Feb 8, 2022 at 4:52 comment added nega Unfortunately I don't have any recommendations for Elisp regex resources. I learned from the Elisp manual a long time ago. Jeffery Friedl's Mastering Regular Expressions had chapter on Emacs/Elisp regexes in the first edition that I found useful. I can't speak to the newer editions. If you're going to do any serious work with regexes that you use an abstraction such as the (included) rx notation
Feb 8, 2022 at 4:39 comment added nega A "\" in a lisp string has special meaning, therefore to get backslash-as-an-escape-character you need two. The paragraph on "\" in the Elisp manual explains it.
Feb 7, 2022 at 9:47 comment added Adeeb HS Thanks, it does the job. Btw could you suggest a resource to learn elisp regexp, I'm quite confused on why there are 2 forward slash before and after the file expansion shouldn't it be just one?
Feb 7, 2022 at 9:28 vote accept Adeeb HS
Feb 7, 2022 at 6:48 history edited nega CC BY-SA 4.0
hit that damned submit button early
Feb 7, 2022 at 6:10 history answered nega CC BY-SA 4.0