f"{p_label(filename)}:{p_label(line_num)}: NOTE with unexpected text found. Please ensure the NOTE tag is either empty or is followed by 'NOTE', an optional number and a colon."
)
)
raiseException("NOTE_NUMBERING_ERROR")
ifre.match(note_in_table_regex,line):
ifre.match(note_in_table_allowed_text,line):
continue
print(f"line: {line}")
print(
p_error(
f"{p_label(filename)}:{p_label(line_num)}: NOTE with unexpected text found in table. Please ensure the NOTE tag is either empty or is followed by 'NOTE', an optional number and a colon. Also, since this is in a table, ensure the line ends with a pipe '|' character without any other text after it. Finally, NOTES in tables can only be in cells that span over all columns."
)
)
raiseException("NOTE_NUMBERING_ERROR")
ifre.match(example_regex,line):
ifre.match(example_allowed_text,line):
continue
print(f"line: {line}")
print(
p_error(
f"{p_label(filename)}:{p_label(line_num)}: EXAMPLE with unexpected text found. Please ensure the EXAMPLE tag is either empty or is followed by 'EXAMPLE', an optional number and a colon."