[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for lookaround assertion in regexp
From: |
Andreas Schwab |
Subject: |
Re: Patch for lookaround assertion in regexp |
Date: |
Mon, 23 Jan 2012 17:14:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Tom <address@hidden> writes:
> Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
>>
>> Tom <adatgyujto <at> gmail.com> writes:
>>
>> > Why not use simply PCRE with a bridge layer which translates from emacs
>> > regexp format to PCRE? AFAIK the emacs regexes are more or less a subset
>> > of PCRE, so the translation shouldn't be very difficult.
>>
>> Does PCRE implement \c and \s?
>
> 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. There is no
easy way to do that.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- 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 <=
- Re: Patch for lookaround assertion in regexp, Stefan Monnier, 2012/01/23
- 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