Lines Matching +full:sub +full:- +full:spaces

86     - It will print an "Issuing: shutil.rmtree" message.
94 print_string = re.sub(
97 gp.qprintn(re.sub(r", quiet[ ]?=.*", ")", print_string))
106 - It will print an "Issuing: os.chdir" message.
213 "Programmer error - The mod_name passed to"
263 "Programmer error - The mod_name passed to"
312 # Make the property names case-sensitive.
332 … any that begin with 0 or more spaces followed by the pound sign ("#").
408 return re.sub("'", "'\\''", buffer)
421 # Spaces
429 # Bash re-direction: >, <
478 # socket.getaddrinfo returns a list of 5-tuples with the
484 # then its 4th element - sockaddr and IP from it
531 var1: -15
554 neg_bit_mask = 2 ** (bit_width - 1)
556 return ((2**bit_width) - number) * -1
563 …Get and return a list of pids representing all first-generation processes that are the children of…
588 "ps --no-headers --ppid " + str(os.getpid()) + " -o pid,args"
599 # 30795 /bin/bash -c ps --no-headers --ppid 30672 -o pid,args > /tmp/tmpqqorWY
604 "egrep -v '"
608 + " | cut -c1-5",
611 …# Split the output buffer by line into a list. Strip each element of extra spaces and convert each
628 buffer = re.sub(regex, "\\1},\\2", buffer, 1)
630 buffer = "[" + re.sub(",([\r\n])$", "\\1}", buffer, 1) + "]"
695 sys_version = re.sub("rc[^ ]+", "", sys_version).split(" ")[0]
696 # Remove any non-numerics, etc. (e.g. "2.7.15+" becomes ""2.7.15").
697 return re.sub("[^0-9\\.]", "", sys_version)
731 …delim A delimiter to be used to separate the sub-components of the file …
732 suffix A suffix to include as the last sub-component of the file name.