function DocLexer::getCatchablePatterns
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocLexer.php, line 102
Class
- DocLexer
- Simple lexer for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
protected function getCatchablePatterns() : array {
return [
'[a-z_\\\\][a-z0-9_\\:\\\\]*[a-z_][a-z0-9_]*',
'(?:[+-]?[0-9]+(?:[\\.][0-9]+)*)(?:[eE][+-]?[0-9]+)?',
'"(?:""|[^"])*+"',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.