emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedded modifiers in the regex engine


From: John Wiegley
Subject: Re: Embedded modifiers in the regex engine
Date: Wed, 24 Feb 2016 22:11:53 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

>>>>> Dima Kogan <address@hidden> writes:

> So for instance "\\(?i\\)asdf" would be interpreted as a case-folding regex
> regardless of the value of case-fold-search. I think this would be a great
> thing to have in general, but for the specific issues in the bugs above,
> it'd make things simpler and more correct.

This does sound promising.

> Clearly this is a big change to a core component, so I want to talk about it
> first. I looked at our regex implementation, and it looks possible to add
> this. But I've seen talk of merging our regex implementation with the glibc
> one, so the merge should clearly happen first.

There's also been talking of rewriting the regex code, since it has acquired
much baggage over the years.

> Also I don't want to touch this without a test suite for our regex engine.
> So that would need to happen beforehand as well.

Absolutely.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]