Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have support for regex when the database is mysql, through the RLIKE operator. Unfortunately MySQL's RLIKE implementation does not support negation. Instead we're supposed to use NOT RLIKE. Attaching a patch which implements NOT RLIKE.
Comment | File | Size | Author |
---|---|---|---|
#6 | views_2137069_1_not-rlike-support.patch | 2.83 KB | heddn |
#1 | views_2137069_1_not-rlike-support.patch | 2.83 KB | ohthehugemanatee |
Comments
Comment #1
ohthehugemanatee CreditAttribution: ohthehugemanatee commentedattaching the patch
Comment #3
heddnComment #5
heddnComment #6
heddnLet's try jump starting tests another way.
Comment #7
annya CreditAttribution: annya commentedDuplicate of #1602658: Add negative regular expression filter
Comment #8
annya CreditAttribution: annya commented