vile
[Top][All Lists]
Advanced

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

iclower


From: Marc Simpson
Subject: iclower
Date: Wed, 18 Dec 2019 11:00:44 -0800

Hi all,

[I forget whether this has been discussed before; a preliminary
 search on https://lists.nongnu.org/archive/html/vile/ suggests not:]

One nice nvi feature that I miss in vile is the `iclower' setting:

    iclower [off]
      The iclower edit option makes all Regular Expressions
      case-insensitive, as long as an uppercase letter does not
      appear in the search string.

where /abc/ matches {'abc', 'Abc', 'ABC', ...} but /Abc/ only matches
'Abc'.  This is convenient if your typical preference is for case
insensitive matching but you occasionally need to search for
uppercased constants, class names or other identifiers where case
is used contrastively.  `ignorecase' typically frustrates this use
case (at least for short inputs), so toggling case sensitivity
(`set noic') is typically required to avoid being flooded with false
positives.

Out of curiosity: Would anyone else find this functionality useful
in vile?

Best,
Marc



reply via email to

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