diff mercurial/similar.py @ 21914:10e99839a7a4

util.re: add an escape method The escape method in at least one of the modules called 're2' is in C. This means it is significantly faster than the Python code written in 're'. An upcoming patch will have benchmarks.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 15 Jul 2014 15:14:45 -0700
parents 525fdb738975
children a56c47ed3885
line wrap: on
line diff