micazi/rich_text_controller

Bad State: no Element when using positive lookbehind

Sembauke opened this issue · 1 comments

When using:

    RegExp(r'(?<=(:)) .*', multiLine: true):  const TextStyle(color: Colors.blue),

With text value:

color: blue;

It throws an error: Bad State no Element.

Decron commented

Hey Sembauke, bit of a long shot but do you remember how you fixed this? I am running into the same issue with a positive lookbehind and cannot find a solution.