4 users online. Create an account or sign in to join them.Users
regexp allowed in a DS Filter
This is an open discussion with 5 replies, filed under General.
Search
also, which regexp engine do those fields use? i’ve been using the JS/Perl engine so i wasn’t thinking of trying the php engine…which turns out to be bascially the same
Another question in relation to regexp filters - not sure who's able to reply to this query; is it possible to use (a|b) as part of the regex? where I would want the statement to match when its either a or b... because whenever I include braces it seems to fail...
What is your regex?
regexp implies MySQL regular expressions.
Which does allow braces according to their docs...
Create an account or sign in to comment.
Like the title says, what are the allowed values for regexp inside a ds filter? i tried this for a
titlefield:regexp:*\b{$url-query}\b*where the
\bresults inbupon saving. however, that didn’t seem to work at all. but when i tried this:regexp:.*{$url-query}.*that seemed to work perfectly fine. does any regexp with the
character defining a character group not work for this filter?