Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DocLexer.php

function DocLexer::getCatchablePatterns

Overrides AbstractLexer::getCatchablePatterns

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php, line 79

Class

DocLexer
Simple lexer for docblock annotations.

Namespace

Doctrine\Common\Annotations

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal