SNRK-89: better regular expr
This commit is contained in:
parent
1276275853
commit
0df78294a1
@ -8,7 +8,7 @@ string = sys.argv[1]
|
|||||||
|
|
||||||
outputfile = sys.argv[2] if len(sys.argv) >= 3 else None
|
outputfile = sys.argv[2] if len(sys.argv) >= 3 else None
|
||||||
|
|
||||||
pattern = r'^([\n|\t| ]*@include\([a-z|0-9|.|_]*.md\)[\n|\t| ]*)*$'
|
pattern = r'^([\n|\t| ]*@include\([a-z|0-9|.|_|\/]*\)[\n|\t| ]*)*$'
|
||||||
|
|
||||||
files = []
|
files = []
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user