diff --git a/wikitextparser/_wikitext.py b/wikitextparser/_wikitext.py index 9eb8e50..a91a0ec 100644 --- a/wikitextparser/_wikitext.py +++ b/wikitextparser/_wikitext.py @@ -113,11 +113,7 @@ DOTALL | MULTILINE | VERBOSE, ).finditer -substitute_apostrophes = rc( # bold-italic, bold, or italic tokens - rb"('\0*+){2,}+(?=[^']|$)", - MULTILINE | VERBOSE, -).sub -find_lines = rc(rb'(.*?)$').finditer +substitute_apostrophes = rc(rb"('\0*+){2,}+(?=[^']|$)", MULTILINE).sub BOLD_FINDITER = rc( rb"""