Since this function can perform matching based on regular expressions,
it should handle the case folding facilities offered to the programmer. The
most logical and natural way to achieve this is IMO to make it respect the
variable `case-fold-search'. The drawback is that it might then be affected by
some current-buffer settings (case-fold-search itself, plus some other stuff,
see `fast_string_match').
If we do this, we take the risk of breaking existing code. Of course,
I'm willing to fix all core and external packages that we distribute. But do
we want to do this change ?
Another alternative would be a new flag, but I hate this. This
function has already too many insane flags, and the long term solution would
probably be to to write a better designed replacement for it.
Comments ?
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / EPITA / LRDE mailto:didier@lrde.epita.fr
/_/ / /_/ / /__ / 14-16 rue Voltaire Tel. +33 (1) 44 08 01 77
94276 Kremlin-Bicêtre cedex Fax. +33 (1) 44 08 01 99