Skip to content

Commit

Permalink
Merge pull request #13 from SeerLite/non-greedy-text
Browse files Browse the repository at this point in the history
asciimath: Fix parsing of multiple quoted strings in same expression
  • Loading branch information
belerico authored Feb 11, 2023
2 parents e15edf0 + 1c20ab9 commit c695225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_asciimath/grammar/asciimath_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
!_u: {} // unary functions
!_asciimath1: {}
!_asciimath2: {}
QS: "\"" /(?<=").+(?=")/ "\"" // Quoted String
QS: "\"" /(?<=").+?(?=")/ "\"" // Quoted String
""".format(
alias_string(left_parenthesis, alias=False),
alias_string(right_parenthesis, alias=False),
Expand Down

0 comments on commit c695225

Please sign in to comment.