Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
Lexer.php
»
Twig_Lexer
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
constant Twig_Lexer::REGEX_NUMBER
File
drupal/
core/
vendor/
twig/
twig/
lib/
Twig/
Lexer.php
, line 43
Class
Twig_Lexer
Lexes a template string.
Code
const
REGEX_NUMBER
=
'/[0-9]+(?:\\.[0-9]+)?/A'
;