You are here

protected function AbstractLexer::getModifiers in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php \Doctrine\Common\Lexer\AbstractLexer::getModifiers()

Regex modifiers

Return value

string

1 call to AbstractLexer::getModifiers()
AbstractLexer::scan in vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php
Scans the input string for tokens.
1 method overrides AbstractLexer::getModifiers()
EmailLexer::getModifiers in vendor/egulias/email-validator/src/Egulias/EmailValidator/EmailLexer.php
Regex modifiers

File

vendor/doctrine/lexer/lib/Doctrine/Common/Lexer/AbstractLexer.php, line 300

Class

AbstractLexer
Base class for writing simple lexers, i.e. for creating small DSLs.

Namespace

Doctrine\Common\Lexer

Code

protected function getModifiers() {
  return 'i';
}