protected function DocLexer::getCatchablePatterns

Lexical catchable patterns.

Return value

array

Overrides Lexer::getCatchablePatterns

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/DocLexer.php, line 76

Class

DocLexer
Simple lexer for docblock annotations.

Namespace

Doctrine\Common\Annotations

Code

protected function getCatchablePatterns() {
  return array(
    '[a-z_\\\\][a-z0-9_\\:\\\\]*[a-z]{1}',
    '(?:[+-]?[0-9]+(?:[\\.][0-9]+)*)(?:[eE][+-]?[0-9]+)?',
    '"(?:[^"]|"")*"',
  );
}