protected function DocLexer::getCatchablePatterns in Plug 7
Lexical catchable patterns.
Return value
array
Overrides AbstractLexer::getCatchablePatterns
File
- lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocLexer.php, line 82
Class
- DocLexer
- Simple lexer for docblock annotations.
Namespace
Doctrine\Common\AnnotationsCode
protected function getCatchablePatterns() {
return array(
'[a-z_\\\\][a-z0-9_\\:\\\\]*[a-z_][a-z0-9_]*',
'(?:[+-]?[0-9]+(?:[\\.][0-9]+)*)(?:[eE][+-]?[0-9]+)?',
'"(?:""|[^"])*+"',
);
}