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

40     The print-out of the resulting var dictionary is:
249 key = re.sub(r" ", "_", key)
288 headers[0][0]: content-length
291 headers[1][0]: x-xss-protection
301 [content-length]: 559
302 [x-xss-protection]: 1; mode=block
304 Another example containing a sub-list (see process_indent description below):
313 …Note that the 2 qualifications for containing a sub-list are met: 1) 'Additional Device Support' h…
328 …process_indent This indicates that indented sub-dictionaries and sub-lists are to…
329 … processed as such. An entry may have a sub-dict or sub-list if 1) It has
354 parent_indent = len(key_value_list[0]) - len(key_value_list[0].lstrip())
359 indent = len(entry) - len(entry.lstrip())
370 # If delim is found anywhere in the sub_list, we'll process as a sub-dictionary.
387 # If delim is found anywhere in the sub_list, we'll process as a sub-dictionary.
464 Access Available : call-in / callback
493 [access_available]: call-in / callback
522 -------- ------------ ------------------ ------------------------
529 - An 8 character field
530 - 3 spaces
531 - A 12 character field
532 - One space
533 - An 18 character field
534 - One space
535 - A 24 character field
538 …line A line consisting of dashes to represent fields and spaces to deli…
544 # descriptors[0]: --------
547 # descriptors[3]: ------------
548 # descriptors[4]: ------------------
549 # descriptors[5]: ------------------------
588 rl[0]: Filesystem 1K-blocks Used Available Use% Mounted on
597 [1k-blocks]: 247120
604 [1k-blocks]: 247120
611 …there is never any data in field 7 so things work out nicely. A caller could do some pre-processi…
616 …If the 2nd line of report data is a series of dashes and spaces as in the following example, that …
621 -------- ------------ ------------------ ------------------------
627 may not contain spaces.
638 report_list = [re.sub("\\|", "", line) for line in report_list]
645 if re.match(r"^-[ -]*$", report_list[1]):
649 pad_format_string = "%-" + str(field_desc_len) + "s"
657 # Pad the line with spaces on the right to facilitate processing with field_desc_regex.
668 # Pad the line with spaces on the right to facilitate processing with field_desc_regex.
692 Filesystem 1K-blocks Used Available Use% Mounted on
701 [1k-blocks]: 247120
708 [1k-blocks]: 247120
715 - Process the output of a ps command.
716 - Process the output of an ls command (the caller would need to supply column names)
720 column names. Column names may not contain spaces.
843 The selection process is directed only at the first-level entries of the structure.
893 results, include only NON-matching entries in the results.
922 resulting sub-dictionaries.