[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for lookaround assertion in regexp
From: |
Stefan Monnier |
Subject: |
Re: Patch for lookaround assertion in regexp |
Date: |
Mon, 23 Jan 2012 12:11:26 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
>> If it doesn't then it's a job for the translation layer. Char syntaxes
>> and categories could be converted into the standard [...] format.
> Enumerating the syntax/category members is not an option.
Indeed.
> There is no easy way to do that.
For `categories', there is a way, but the result is a *very* large [...]
chunk, so it's impractical. For `syntax' there is indeed no way, since
the syntax of a char doesn't only depend on the char itself but also of
the `char-table' text-property that might be applied to that particular
character position (and of course, if we ignore this problem, we're
still back to the same problem of enormous [...] expressions, as is the
case for categories).
These entities really need to be implemented inside the regexp-engine
(but they're usually pretty easy to implement there).
Stefan
- Patch for lookaround assertion in regexp, Colin Fraizer, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Stefan Monnier, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Tom, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Andreas Schwab, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Tom, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Andreas Schwab, 2012/01/23
- Re: Patch for lookaround assertion in regexp,
Stefan Monnier <=
- Re: Patch for lookaround assertion in regexp, Štěpán Němec, 2012/01/23
- Re: Patch for lookaround assertion in regexp, Juri Linkov, 2012/01/29
- Re: Patch for lookaround assertion in regexp, Stefan Monnier, 2012/01/23
Re: Patch for lookaround assertion in regexp, Nikolai Weibull, 2012/01/24
Re: Patch for lookaround assertion in regexp, David De La Harpe Golden, 2012/01/24
Re: Patch for lookaround assertion in regexp, Nikolai Weibull, 2012/01/25