emacs-devel
[Top][All Lists]
Advanced

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

Re: Regexp matching


From: John Wiegley
Subject: Re: Regexp matching
Date: Mon, 08 Feb 2016 10:57:13 -0500
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

>>>>> Stefan Monnier <address@hidden> writes:

> - We need to update/replace/rewrite our C-level regexp matching code.
> - Most likely, along the way we may be able to add
>   "compiled-regexp" objects.  Currently the regexp-compilation is done
>   transparently, with a cache to avoid obvious performance issues;
>   this works well in most cases, but offering access to compiled-regexps
>   could open up a few more options.
> - I'd love it if the new code could provide something like
>   `make-regexp-case-insensitive'; either applied to the string-regexp or
>   to the compiled-regexp, or maybe as an option to `regexp-compile'.

Agreed on all points.  Perhaps we could abuse text properties for this, by
allowing regexps that can be enriched with properties like :case-insensitive t.

-- 
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]