MarkdownPlaceholder.regexp constructor

MarkdownPlaceholder.regexp(
  1. String start,
  2. MarkdownReplace replace, {
  3. String? end,
  4. bool strict = false,
})

A markdown placeholder with a regexp pattern.

Implementation

factory MarkdownPlaceholder.regexp(String start, MarkdownReplace replace,
    {String? end, bool strict = false}) {
  return MarkdownPlaceholder(MarkdownPattern.regexp(start, end), replace);
}