dart-lang / markdown

A Dart markdown library
https://pub.dev/packages/markdown
BSD 3-Clause "New" or "Revised" License
443 stars 201 forks source link

AutolinkExtensionSyntax regex does not work on Safari #515

Closed jason-simmons closed 1 year ago

jason-simmons commented 1 year ago

https://github.com/dart-lang/markdown/commit/49eefd21 added a regex in AutolinkExtensionSyntax that uses the (?<= and (?<! lookbehind operators.

These operators are not currently supported in the Safari browser.

See https://github.com/flutter/flutter/issues/120632

kevmoo commented 1 year ago

FYI @chenzhiguang – if you have thoughts

kevmoo commented 1 year ago

This is unfortunate, but it's unclear the overall priority of parsing markdown in Safari. Obviously a Flutter web scenario we care about.

chenzhiguang commented 1 year ago

I will fix it later today