2020-01-20 17:18:58 -06:00
|
|
|
# 20 january 2020
|
|
|
|
# note: python 3
|
|
|
|
|
|
|
|
import fileinput
|
|
|
|
import re
|
|
|
|
|
2020-01-21 00:16:47 -06:00
|
|
|
r = re.compile('^(?:Test|TestNoInit)\(([A-Za-z0-9_]+)\)$')
|
2020-01-20 17:18:58 -06:00
|
|
|
for line in fileinput.input():
|
|
|
|
match = r.match(line)
|
|
|
|
if match is not None:
|
|
|
|
print('Test' + match.group(1))
|