diff --git a/core/lib/Drupal/Core/Routing/RouteCompiler.php b/core/lib/Drupal/Core/Routing/RouteCompiler.php
index da890c0152fca80fdd14ffbef5c54fdb531ae4fc..a3dfae6fefc16805e58b4822db3ff9065c17fc3f 100644
--- a/core/lib/Drupal/Core/Routing/RouteCompiler.php
+++ b/core/lib/Drupal/Core/Routing/RouteCompiler.php
@@ -11,11 +11,6 @@
  */
 class RouteCompiler extends SymfonyRouteCompiler implements RouteCompilerInterface {
 
-  /**
-   * Utility constant to use for regular expressions against the path.
-   */
-  const REGEX_DELIMITER = '#';
-
   /**
    * Compiles the current route instance.
    *