File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/String.php, line 336
- Definition of Drupal\views\Plugin\views\filter\String.
Class
- String
- Basic textfield filter to handle string filtering commands
including equality, like, not like, etc.
Namespace
Drupal\views\Plugin\views\filter
Code
function op_regex($field) {
$this->query
->add_where($this->options['group'], $field, $this->value, 'RLIKE');
}