D4971: py3: use .+ instead of .* in regexp pattern

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Fri Oct 12 06:47:53 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6037c49b8964: py3: use .+ instead of .* in regexp pattern (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4971?vs=11837&id=11860

REVISION DETAIL
  https://phab.mercurial-scm.org/D4971

AFFECTED FILES
  tests/test-hgweb-commands.t

CHANGE DETAILS

diff --git a/tests/test-hgweb-commands.t b/tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t
+++ b/tests/test-hgweb-commands.t
@@ -36,7 +36,7 @@
   > stable.width = 3
   > stable.color = FF0000
   > [websub]
-  > append = s|(.*)|\1(websub)|
+  > append = s|(.+)|\1(websub)|
   > EOF
 
   $ hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list