Skip to content

Commit beff4e1

Browse files
committed
fix deprecation warning
1 parent 77015fd commit beff4e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccrawl/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def preprocess_files(src,args,cxx=False,allc=False):
285285
click.echo("preprocessing files...",nl=False)
286286
p = "[hHcCiI]" if allc else "[hH]"
287287
if cxx: p += "|(hpp)|(cpp)"
288-
rexh = re.compile(".+\.("+p+")$",flags=re.IGNORECASE)
288+
rexh = re.compile(r".+\.("+p+")$",flags=re.IGNORECASE)
289289
F = lambda f: rexh.search(f)
290290
# count source files:
291291
FILES = set()

0 commit comments

Comments
 (0)