]> gitweb.michael.orlitzky.com - hath.git/blobdiff - test/shell/manpage-regexed.test
List regex alternates in reverse order to avoid matching single digits before the...
[hath.git] / test / shell / manpage-regexed.test
index 9b09f11a7e0856d3df5427e6fafabbfe27274349..4961eac38487724d7f43deaa6ca3c07ea54a5da9 100644 (file)
@@ -1,5 +1,5 @@
 # Test the regexed example from the man page.
 dist/build/hath/hath <<< "10.0.0.0/29 10.0.0.8/29"
 >>>
-((10)\.(0)\.(0)\.(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15))
+((10)\.(0)\.(0)\.(15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0))
 >>>= 0