LUCENE-8106: fix module regex to recognize Windows path backslashes

This commit is contained in:
Steve Rowe 2018-02-26 18:43:52 -05:00
parent 50c17b92bd
commit 606e91c2ae
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ reTestsSeed = re.compile(r'-Dtests.seed=\S+\s*')
reJenkinsURLWithoutConsoleText = re.compile(r'https?://.*/\d+/?\Z', re.IGNORECASE)
reJavaFile = re.compile(r'(.*)\.java\Z')
reModule = re.compile(r'\./(.*)/src/')
reModule = re.compile(r'\.[\\/](.*)[\\/]src[\\/]')
reTestOutputFile = re.compile(r'TEST-(.*\.([^-.]+))(?:-\d+)?\.xml\Z')
reErrorFailure = re.compile(r'(?:errors|failures)="[^0]')
reGitMainBranch = re.compile(r'^(?:master|branch_[x_\d]+)$')