sectionPattern method

  1. @visibleForTesting
RegExp sectionPattern(
  1. Variable variable
)

the pattern to find sections within the content

Implementation

@visibleForTesting
RegExp sectionPattern(Variable variable) =>
    RegExp(r'(\w+)' '${variable.placeholder}');