diff --git a/test/more/run-tests.py b/test/more/run-tests.py index 2a56795..f457569 100755 --- a/test/more/run-tests.py +++ b/test/more/run-tests.py @@ -90,7 +90,7 @@ def normalize_boostbook_ids(doc): if(id in ids): print 'Duplicate id: ' + id - match = re.match("(id|.+_id)(\d+)((?:-bb)?)", id) + match = re.match("(id|.+_id)([mp]?\d+)((?:-bb)?)", id) if(match): count = 1 if(match.group(1) in id_bases): @@ -119,4 +119,4 @@ def compare_xml(file, doc_text, gold_text): ) if __name__ == "__main__": - main(sys.argv[1:]) \ No newline at end of file + main(sys.argv[1:])