Re: Pattern matching bug

Frank Steiner <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
Matthew D. Fuller wrote

> On Thu, Nov 09, 2017 at 02:17:45PM +0100 I heard the voice of
> Frank Steiner, and lo! it spake thus:
>> it seems, that strings used in any kind of lists are matched as
>> substrings.
> 
> Actually, they're regular expressions.  They always[-ish] sorta were,
> except not.
> 
> As of 4.0.0, they're just passed to the libc regexec() implementation.

Ok, that definitely is cool. Just realized that you can indeed use
sth. like "^[[:digit:]]ab". Definitely a great improvement! Maybe
that part in the man page should be altered so that you know that
you can use real regular expressions now :-)


-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.