mirror of
https://github.com/github/codeql.git
synced 2026-02-28 12:53:49 +01:00
12 lines
287 B
Python
12 lines
287 B
Python
import re
|
|
#Regular expression includes a caret, but not at the start.
|
|
matcher = re.compile(r"\[^.]*\.css")
|
|
|
|
def find_css(filename):
|
|
if matcher.match(filename):
|
|
print("Found it!")
|
|
|
|
#Regular expression for a css file name
|
|
fixed_matcher_css = re.compile(r"[^.]*\.css")
|
|
|