codeFencePattern top-level property

RegExp codeFencePattern
final

Fenced code block.

Implementation

final codeFencePattern = RegExp(
  r'^([ ]{0,3})(?:(?<backtick>`{3,})(?<backtickInfo>[^`]*)|(?<tilde>~{3,})(?<tildeInfo>.*))$',
);