[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Regexp matching (was: HowTo: directory-files and friends and case-insens
From: |
Stefan Monnier |
Subject: |
Regexp matching (was: HowTo: directory-files and friends and case-insensitive match) |
Date: |
Mon, 08 Feb 2016 09:06:49 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> To make any variation on .jpeg:
> (directory-files DIR t "\\.[Jj][Pp][Ee]?[Gg]\\'")
> You could write a helper function to "case insensitize" regexps, if one
> doesn't already exist somewhere.
FWIW:
- 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'.
Stefan
- HowTo: directory-files and friends and case-insensitive match, raman, 2016/02/05
- Re: HowTo: directory-files and friends and case-insensitive match, Marcin Borkowski, 2016/02/06
- Re: HowTo: directory-files and friends and case-insensitive match, Eli Zaretskii, 2016/02/06
- Re: HowTo: directory-files and friends and case-insensitive match, raman, 2016/02/06
- Re: HowTo: directory-files and friends and case-insensitive match, John Wiegley, 2016/02/07
- Re: HowTo: directory-files and friends and case-insensitive match, raman, 2016/02/07
- Re: HowTo: directory-files and friends and case-insensitive match, Eli Zaretskii, 2016/02/07
- Re: HowTo: directory-files and friends and case-insensitive match, raman, 2016/02/07
- Re: HowTo: directory-files and friends and case-insensitive match, John Wiegley, 2016/02/07
- Regexp matching (was: HowTo: directory-files and friends and case-insensitive match),
Stefan Monnier <=
- Re: Regexp matching, John Wiegley, 2016/02/08
- Re: Regexp matching, Paul Eggert, 2016/02/08
- Re: Regexp matching, John Wiegley, 2016/02/11