4 users online. Create an account or sign in to join them.Users

Search

Like the title says, what are the allowed values for regexp inside a ds filter? i tried this for a title field:

regexp:*\b{$url-query}\b*

where the \b results in b upon 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?

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.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details