On Sun, 20 Nov 2011 19:28:14 -0000, Yoshi Rokuko <yoshi_AT_rokuko.net> wrote:
> i use dmenu only on url and program names, i used it for file names too,
> but my files do not have whitespaces, and i agree that typing 'hg ta'
> is much faster then 'hg.*ta', but i think one should not touch REGEXP(7)
> in a single program that is part of a toolkit ... you know what i mean.
>
> i am not talking about legacy support or change in general, i would
> love it if dmenu would support REGEXP(7) patterns.
>
To me, regexp does not seem like a good expression language for matching
IRIs and pathnames. First and foremost, pathnames are easily tokenized,
rendering the power of regular expressions unnecessary. Secondly,
pathnames often contain dots - and IRIs even more so. Reserving the dot is
not an option IMHO.
Would you ever use character sets or classes in dmenu? I most certainly
won't.
--
-,Bjartur
Received on Sun Nov 20 2011 - 20:56:14 CET