constant FrontMatter::REGEXP in Drupal 9
The regular expression used to extract the YAML front matter content.
File
- core/
lib/ Drupal/ Component/ FrontMatter/ FrontMatter.php, line 57
Class
- FrontMatter
- Component for parsing front matter from a source.
Namespace
Drupal\Component\FrontMatterCode
const REGEXP = '/\\A(' . self::SEPARATOR . '(.*?)?\\R' . self::SEPARATOR . ')(\\R.*)?\\Z/s';