10000 [BUG] Illegal RegExp in Safari in 3.0.0-beta.1 and beta.2 · Issue #1314 · Sub6Resources/flutter_html · GitHub
[go: up one dir, main page]

Skip to content
[BUG] Illegal RegExp in Safari in 3.0.0-beta.1 and beta.2 #1314
Closed
@sdabet-orpheo

Description

@sdabet-orpheo

Describe the bug:
Since I upgraded from 3.0.0-alpha6 to beta2, I have an issue on old Safari versions. The Html widget renders as a gray area and I see in the console the error:

FormatException: Illegal RegExp pattern (SyntaxError: Invalid regular expression: invalid group specifier name)
(?<=\n) *

HTML to reproduce the issue:
Any HTML content

Html widget configuration:
No specific configuration

Expected behavior:
HTML properly rendered, instead of gray area.

Screenshots:

Device details and Flutter/Dart/flutter_html versions:
iOS 12.5.5, flutter_html 3.0.0-beta.2

Stacktrace/Logcat

FormatException: Illegal RegExp pattern (SyntaxError: Invalid regular expression: invalid group specifier name)
(?<=\n) *

Additional info:

A picture of a cute animal (not mandatory but encouraged)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0