Skip to content

Commit

Permalink
Fix * parsing, #312
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jul 14, 2022
1 parent f857f04 commit 979d6d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mistune/inline_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class InlineParser(ScannerParser):
#: _emphasis_ __strong__
ASTERISK_EMPHASIS = (
r'(\*{1,2})(?=[^\s*])('
r'(?:(?:(?<!\\)(?:\\\\)*\*)|[^*])+'
r'(?:(?:(?<!\\)(?:\\\\)*\*)|[^*])+?'
r')(?<!\\)\1'
)
UNDERSCORE_EMPHASIS = (
Expand Down

0 comments on commit 979d6d3

Please sign in to comment.