Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Numeric range bug



Just discovered this.  It will have to wait to be fixed --- it's been
around for years and no-one's complained.  I'm planning a rewrite of the
pattern matching code anyway.

--- Etc/BUGS~	Fri Jul  9 09:30:19 1999
+++ Etc/BUGS	Wed Jul 28 14:22:29 1999
@@ -44,3 +44,7 @@
 such patterns unchanged if they do not match regardless of the state of
 the nonomatch and nullglob options.
 ------------------------------------------------------------------------
+Numeric ranges are still too greedy with using characters; for example,
+<1-1000>33 will not match 633 because the 633 matches the range.  Some
+backtracking will be necessary.
+------------------------------------------------------------------------

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy



Messages sorted by: Reverse Date, Date, Thread, Author