[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regular expression creation [was: Re: Emacs Lisp's future]
From: |
Stefan Monnier |
Subject: |
Re: Regular expression creation [was: Re: Emacs Lisp's future] |
Date: |
Thu, 18 Sep 2014 22:12:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> debates around raw strings, i still feel something like Stefan's
> suggestion for a built-in `re-escape` function would probably solve most
> of the issues i have with ELisp REs.
And note that re-escape should be easy to write. I guess the main issue
would be to decide what escape character to use (assuming "(" is used for
regexp-grouping, what should be used to match a plain open-parenthesis?
"\(" is not an option since it's the same string as "(", so you either
have to go with "\\(" which (as we know) sucks, or choose another escape
char than backslash).
Stefan
- Emacs Lisp's future (was: Guile emacs thread (again)), (continued)
- Emacs Lisp's future (was: Guile emacs thread (again)), Stefan Monnier, 2014/09/16
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Lennart Borgman, 2014/09/16
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Jorgen Schaefer, 2014/09/17
- Re: Emacs Lisp's future, Lars Brinkhoff, 2014/09/17
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Lally Singh, 2014/09/17
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Alexis, 2014/09/17
- Re: Emacs Lisp's future, Daniel Colascione, 2014/09/18
- Regular expression creation [was: Re: Emacs Lisp's future], Alexis, 2014/09/18
- Re: Regular expression creation [was: Re: Emacs Lisp's future], Aurélien Aptel, 2014/09/18
- Re: Regular expression creation [was: Re: Emacs Lisp's future], Alexis, 2014/09/18
- Re: Regular expression creation [was: Re: Emacs Lisp's future],
Stefan Monnier <=
- Re: Regular expression creation [was: Re: Emacs Lisp's future], Alexis, 2014/09/19
- Re: Regular expression creation [was: Re: Emacs Lisp's future], Filipp Gunbin, 2014/09/26
- Re: Regular expression creation [was: Re: Emacs Lisp's future], Daniel Colascione, 2014/09/19
- Re: Emacs Lisp's future, Andreas Röhler, 2014/09/18
- Re: Emacs Lisp's future, Richard Stallman, 2014/09/18
- Re: Emacs Lisp's future, Ivan Andrus, 2014/09/18
- Re: Emacs Lisp's future, Richard Stallman, 2014/09/18
- Re: Emacs Lisp's future, Andreas Röhler, 2014/09/19
- Re: Emacs Lisp's future, Andreas Schwab, 2014/09/19
- Re: Emacs Lisp's future, David Kastrup, 2014/09/19