You are here

public function TokenizerPatterns::getQuotedStringPattern in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/css-selector/Parser/Tokenizer/TokenizerPatterns.php \Symfony\Component\CssSelector\Parser\Tokenizer\TokenizerPatterns::getQuotedStringPattern()

Parameters

string $quote:

Return value

string

File

vendor/symfony/css-selector/Parser/Tokenizer/TokenizerPatterns.php, line 156

Class

TokenizerPatterns
CSS selector tokenizer patterns builder.

Namespace

Symfony\Component\CssSelector\Parser\Tokenizer

Code

public function getQuotedStringPattern($quote) {
  return '~^' . sprintf($this->quotedStringPattern, $quote) . '~i';
}