Lines Matching +full:start +full:- +full:line
4 # SPDX-License-Identifier: Apache-2.0
36 # Start search by cppcheck misra addon
70 pattern_table_start = re.compile(r'.*list-table:: Main rules')
71 # Each Rule is a new table column so start with '[tab]* - Rule'
73 pattern_new_line = re.compile(r'^ \* - Rule ([0-9]+.[0-9]+).*$')
74 # Each table column start with '[tab]- '
75 pattern_new_col = re.compile(r'^ - (.*)$')
82 for line in file_stream:
84 line = line.replace('\r', '').replace('\n', '')
86 # Done if we find the Additional rules table start
87 if line.find('Additional rules') >= 0:
90 if len(line) == 0:
94 res = pattern_table_start.match(line)
100 res = pattern_new_line.match(line)
109 res = pattern_new_col.match(line)
131 "-i", "--input", metavar="RST_FILE", type=Path, required=True,
135 "-f", "--format", metavar="FORMAT", choices=supported_formats, required=True,
139 "-o", "--output", metavar="OUTPUT_FILE", type=Path, required=False,