Searched defs:re (Results 1 - 3 of 3) sorted by relevance

/systemd/tools/
H A Dmake-directive-index.py22 import re namespace
204 text = re.sub(r'([= ]).*', r'\1', name.text).rstrip()
H A Dmake-man-index.py23 import re namespace
74 if not re.search('/' + id + '[.]', page):
/systemd/test/
H A Drule-syntax-check.py19 import re namespace
36 no_args_tests = re.compile('(ACTION|DEVPATH|KERNELS?|NAME|SYMLINK|SUBSYSTEMS?|DRIVERS?|TAG|RESULT|TEST)\s*(?:=|!)=\s*"([^"]*)"$')
37 args_tests = re.compile('(ATTRS?|ENV|TEST){([a-zA-Z0-9/_.*%-]+)}\s*(?:=|!)=\s*"([^"]*)"$')
38 no_args_assign = re.compile('(NAME|SYMLINK|OWNER|GROUP|MODE|TAG|PROGRAM|RUN|LABEL|GOTO|OPTIONS|IMPORT)\s*(?:\+=|:=|=)\s*"([^"]*)"$')
39 args_assign = re.compile('(ATTR|ENV|IMPORT|RUN){([a-zA-Z0-9/_.*%-]+)}\s*(=|\+=)\s*"([^"]*)"$')

Completed in 10 milliseconds