On 10/18/2016 02:20 AM, Augie Fackler wrote:
diff --git a/contrib/check-code.py b/contrib/check-code.py
--- a/contrib/check-code.py
+++ b/contrib/check-code.py
@@ -463,7 +463,7 @@ def _preparepats():
          failandwarn = c[-1]
          for pats in failandwarn:
              for i, pseq in enumerate(pats):
-                # fix-up regexes for multi-line searches
+                # fix-up regexps for multi-line searches
I've always used singular "regex" plural "regexes" - I don't see
"regexp" much in my day-to-day life. Dropped all instances of this
correction for now.

Fine, as long as we can be consistent ;-)

Mercurial calls it "regexp" in .hgignore - we can't change that.

We have approximately twice as many uses of 'regexp' as of 'regex'.

The alternative to 'regexp' thus seems to be officially inconsistent.

Mercurial-devel mailing list

Reply via email to