Skip to content

Commit

Permalink
chore: remove unused regex
Browse files Browse the repository at this point in the history
  • Loading branch information
5j9 committed Apr 18, 2024
1 parent 5fc587f commit d80c648
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions wikitextparser/_wikitext.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit d80c648

Please sign in to comment.