Silence some SyntaxWarnings from Python 3.12+:
contribulyze.py:520: SyntaxWarning: invalid escape sequence '\|'
('^(r[0-9]+) \| ([^|]+) \| ([^|]+) \| ([0-9]+)[^0-9]')
contribulyze.py:523: SyntaxWarning: invalid escape sequence '\s'
'\s*\S.*$')
contribulyze.py:528: SyntaxWarning: invalid escape sequence '\s'
parenthetical_aside_re = re.compile('^\s*\(.*\)\s*$')
contribulyze.py:579: SyntaxWarning: invalid escape sequence '\s'
+ ' by:\s+|\s+)([^\s(].*)')
contribulyze.py:706: SyntaxWarning: invalid escape sequence '\S'
matcher = re.compile('(\S+)\s+([^\(\)]+)\s+(\([^()]+\)){0,1}')
* tools/dev/contribulyze.py: Use r-strings to appease the Python regex
parser.
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1932974 13f79535-47bb-0310-9956-ffa450edef68
1 file changed