diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php
index bdf71f45e8b43261718af494c2c2290af8e5d309..0a299b64022d865a305fd6be7e7e524f2b1318c5 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Combine.php
@@ -126,7 +126,7 @@ function op_not($expression) {
     $this->query->add_where_expression($this->options['group'], "$expression NOT LIKE $placeholder", array($placeholder => '%' . db_like($this->value) . '%'));
   }
 
-  function op_regex($expression) {
+  protected function opRegex($expression) {
     $placeholder = $this->placeholder();
     $this->query->add_where_expression($this->options['group'], "$expression RLIKE $placeholder", array($placeholder => $this->value));
   }
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php
index c9d5389c90e605a72f2e5d6c6959346e09e52a91..2c39ccbfdf915c1a789fba3963ac28ba6c64a309 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/Numeric.php
@@ -111,7 +111,7 @@ function operators() {
         'regular_expression' => array(
           'title' => t('Regular expression'),
           'short' => t('regex'),
-          'method' => 'op_regex',
+          'method' => 'opRegex',
           'values' => 1,
         ),
       );
@@ -275,7 +275,7 @@ function op_empty($field) {
     $this->query->add_where($this->options['group'], $field, NULL, $operator);
   }
 
-  function op_regex($field) {
+  protected function opRegex($field) {
     $this->query->add_where($this->options['group'], $field, $this->value, 'RLIKE');
   }
 
diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php
index c71e14bbae657864aea003013d824e9592a7fbf7..1f7f9a498ae26d5e8ed069a54bfcc3f930785091 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php
@@ -134,7 +134,7 @@ function operators() {
         'regular_expression' => array(
           'title' => t('Regular expression'),
           'short' => t('regex'),
-          'method' => 'op_regex',
+          'method' => 'opRegex',
           'values' => 1,
         ),
       );
@@ -331,7 +331,7 @@ function op_longer($field) {
     $this->query->add_where_expression($this->options['group'], "LENGTH($field) > $placeholder", array($placeholder => $this->value));
   }
 
-  function op_regex($field) {
+  protected function opRegex($field) {
     $this->query->add_where($this->options['group'], $field, $this->value, 'RLIKE');
   }