Skip to content

Commit

Permalink
Error in Safari: regex without lookbehind
Browse files Browse the repository at this point in the history
  • Loading branch information
daks01 authored Aug 30, 2022
1 parent 5a971e7 commit f8cf2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/richtypo/src/richtypo.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const SAVE_TAGS_REGEXPS = [
// Markdown tables
/^\|.*?\|$/gm,
// Markdown links and images
/(?<=\])\([^)]+\)/gim,
/[[^\[]*?\(.*?\)|^\[*?\]\(.*?\)/gim,
// Markdown fenced code blocks
/```[\s\S]*?```/gim,
// Markdown code blocks
Expand Down

0 comments on commit f8cf2c6

Please sign in to comment.