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.
If caseSensitive is disabled, then case is ignored when matching
the pattern.
Implementation
InlineSyntax(String pattern, {int? startCharacter, bool caseSensitive = true})
: pattern =
RegExp(pattern, multiLine: true, caseSensitive: caseSensitive),
_startCharacter = startCharacter;