Skip to content

Commit bc0064d

Browse files
committed
[benchmark] Simpler naming convention regex
1 parent b4f901b commit bc0064d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/Naming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,4 @@ with minor implementation variations.
145145
</ul>
146146

147147
Technically, the benchmark's name must match the following regular expression:
148-
`[A-Z][a-zA-Z0-9\-\.!?]+`
148+
`[A-Z][a-zA-Z0-9\-.!?]+`

benchmark/scripts/Benchmark_Driver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class BenchmarkDoctor(object):
305305
"""Unregister handler on exit."""
306306
self.log.removeHandler(self.console_handler)
307307

308-
benchmark_naming_convention_re = re.compile(r'[A-Z][a-zA-Z0-9\-\.!?]+')
308+
benchmark_naming_convention_re = re.compile(r'[A-Z][a-zA-Z0-9\-.!?]+')
309309
camel_humps_re = re.compile(r'[a-z][A-Z]')
310310

311311
@staticmethod

0 commit comments

Comments
 (0)