Lines Matching +full:ansi +full:- +full:regex
6 # SPDX-License-Identifier: MIT
53 def phase(self) -> LogSectionType:
90 # Sections can have redundant regex to find them to mitigate LAVA
107 def detect_kernel_dump_line(self, line: dict[str, Union[str, list]]) -> bool:
123 def feed(self, new_lines: list[dict[str, str]]) -> bool:
137 # At least we are fed with a non-kernel dump log, it seems that the
148 def flush(self) -> list[str]:
158 before `[:digit::digit:?:digit:?m` ANSI TTY color codes, or the more
170 - \x1b[0Ksection_start:timestamp:section_id[collapsible=true/false]\r\x1b[0Ksection_header
171 - \x1b[0Ksection_end:timestamp:section_id\r\x1b[0K
179 # The above regex serves for both section start and end lines.
185 def parse_lava_line(line) -> Optional[str]: