Allow the separating space between // and OSS to be omitted.
This commit is contained in:
parent
1d9717b16b
commit
b71c5e4287
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ def main(argc, argv):
|
|||
return 1
|
||||
|
||||
# Regex that replaces a line with its OSS version when one's specified.
|
||||
os_re = re.compile(r'^( *)(.*?)// OSS::(.*)$', re.MULTILINE)
|
||||
os_re = re.compile(r'^( *)(.*?)// ?OSS::(.*)$', re.MULTILINE)
|
||||
|
||||
f = open(argv[1], "r");
|
||||
s = f.read()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue