py3: make regular expressions bytes by prepending b''

Authored by pulkit.

Description

py3: make regular expressions bytes by prepending b''

Regexes start with r'' and hence transformer skips adding b'' there.

skip-blame because we are just adding b''

Differential Revision: https://phab.mercurial-scm.org/D1794

Details

Committed
pulkitDec 28 2017, 6:58 PM
Differential Revision
D1794: py3: make regular expressions bytes by prepending b''
Parents
rHG2f123f309f61: py3: slice on bytes instead of indexing
Branches
Unknown
Tags
Unknown