Lines Matching full:regex
199 # files-regex
202 area_dict.get("files-regex"))
205 # files-regex-exclude
208 area_dict.get("files-regex-exclude"))
422 # Constructs a single regex that tests for matches against the globs in
424 # Returns the search() method of the compiled regex.
432 regex = ""
437 # Construct a regex equivalent to the glob
449 regex += "^(?:{})".format("|".join(glob_regexes))
452 if regex:
453 regex += "|"
454 regex += "|".join(regexes)
456 return re.compile(regex).search
487 "files-exclude", "files-regex", "files-regex-exclude",
508 if not area_dict.keys() & {"files", "files-regex"}:
509 ferr("either 'files' or 'files-regex' (or both) must be specified "
516 "files-regex", "labels", "tags", "tests":
543 for files_regex_key in "files-regex", "files-regex-exclude":
545 for regex in area_dict[files_regex_key]:
547 re.compile(regex)
550 "'{}': {}".format(regex, files_regex_key,