tests/hghave.py
changeset 30297 d4db88a26ad5
parent 30242 389cbfe63586
child 30441 de48d3a0573a
--- a/tests/hghave.py	Sat Nov 05 13:16:40 2016 +0900
+++ b/tests/hghave.py	Sat Nov 05 13:20:53 2016 +0900
@@ -150,7 +150,7 @@
 
 @check("darcs", "darcs client")
 def has_darcs():
-    return matchoutput('darcs --version', br'2\.[2-9]', True)
+    return matchoutput('darcs --version', br'\b2\.([2-9]|\d{2})', True)
 
 @check("mtn", "monotone client (>= 1.0)")
 def has_mtn():