Skip to content
Snippets Groups Projects
Commit dc8eb70b authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Correcting clause regex

parent d346cbe0
No related branches found
No related tags found
No related merge requests found
Pipeline #681 passed
......@@ -85,7 +85,7 @@ def find_all_clauses(progress:Progress, mdLines:list[str]):
_taskID = progress.add_task('[blue]Find all available clauses', start=False, total=0)
clauseregex = re.compile('^#+\s(\d(\.\d)*|Annex \w(\.\d)*|\w*(\.\d)*).*')
clauseregex = re.compile('^#+\s(\d+(\.\d+)*|Annex \w(\.\d+)*|\w*(\.\d+)*).*')
clauses:list[Clause] = []
index = 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment