D5288: tests: make test-alias.t pass with re2

valentin.gatienbaron (Valentin Gatien-Baron) phabricator at mercurial-scm.org
Tue Nov 20 23:42:42 EST 2018


valentin.gatienbaron added a comment.


  Thanks. FWIW, re2 options allow to choose an encoding which is latin1 or utf8 (https://github.com/google/re2/blob/master/re2/re2.h#L609). Presumably latin1 means that "." matches a byte, which would seem more compatible with re, but python bindings don't provide the ability to choose this encoding.

REPOSITORY
  rHG Mercurial

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

To: valentin.gatienbaron, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list