Lines Matching refs:re
12 import re
28 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$")
29 REGEX_FEATURE = re.compile(r'(?!\B"[^"]*)' + FEATURE + r'(?![^"]*"\B)')
30 REGEX_SOURCE_FEATURE = re.compile(SOURCE_FEATURE)
31 REGEX_KCONFIG_DEF = re.compile(DEF)
32 REGEX_KCONFIG_EXPR = re.compile(EXPR)
33 REGEX_KCONFIG_STMT = re.compile(STMT)
34 REGEX_KCONFIG_HELP = re.compile(r"^\s+(help|---help---)\s*$")
35 REGEX_FILTER_FEATURES = re.compile(r"[A-Za-z0-9]$")
36 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+")
83 if opts.diff and not re.match(r"^[\w\-\.]+\.\.[\w\-\.]+$", opts.diff):
101 re.match(opts.ignore, "this/is/just/a/test.c")
201 if re.findall(r"[URMADC]{1}", line[:2]):
238 if ignore and re.match(ignore, sfile):
244 if ignore and re.match(ignore, kfile):