public function CompiledRoute::getRegex

Same name in this branch
  1. 9.x drupal/core/lib/Drupal/Core/Routing/CompiledRoute.php \Drupal\Core\Routing\CompiledRoute::getRegex()
  2. 9.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/CompiledRoute.php \Symfony\Component\Routing\CompiledRoute::getRegex()

Returns the placeholder regex.

Return value

string The regex to locate placeholders in this pattern.

File

drupal/core/lib/Drupal/Core/Routing/CompiledRoute.php, line 118
Definition of Drupal\Core\Routing\CompiledRoute.

Class

CompiledRoute
Description of CompiledRoute

Namespace

Drupal\Core\Routing

Code

public function getRegex() {
  return $this->regex;
}