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. As of 3.7, they also were, but only if you set a non-default option with a very misleading name. As of 2.1, they were done with a messy internal reimplementation with an undocumented syntax that closely mimics globs, execpt where it closely mimics regular expressions, except where it sorta acted like both, or neither, as long as you don't look too closely. That verbiage in the manual apparently came in in 3.0 when the manpage switched from "here's how ctwm differs from twm" to "here's the full twm manual with the ctwm bits added", and is verbatim what's in the twm manpage to this day, so it's quite literally been wrong since before it was added. Whee. -- Matthew Fuller (MF4839) | fulle...@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.