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 bdf71f4..e0f8cf4 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) { + public 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 c9d5389..22c349c 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) { + 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 c71e14b..55c8d0c 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) { + public function opRegex($field) { $this->query->add_where($this->options['group'], $field, $this->value, 'RLIKE'); }