InlineSyntax constructor
Create a new InlineSyntax which matches text on pattern
.
If startCharacter
is passed, it is used as a pre-matching check which
is faster than matching against pattern
.
Implementation
InlineSyntax(String pattern, {int? startCharacter, bool caseSensitive = true})
: pattern = RegExp(pattern, multiLine: true, caseSensitive: caseSensitive),
_startCharacter = startCharacter;