I'm having problems with this regex with an AND search.
search="Category.*(value\=).*TypeA ; Status.*(value\=).*Active" order="formfield(Ident)" scope="text" regex="on"
I ommited the rest of the arguments but are formated search type. It used to worked OK in a previous twiki version but not since I changed to 4.1.2.
It will only work if I omit the ";" separator (AND separator) and the second condition, but that is not what I am looking for.
Another way to ask this question is.: How can I search in metadata for two values on the form to meet certatin creteria?
--
AntonioVega - 08 Jan 2008
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Never mind, it was a sinax errror
--
AntonioVega - 09 Jan 2008
Remove the space after the semicolon; spaces are significant in a regex search.
--
PeterThoeny - 09 Jan 2008
Topic revision: r3 - 09 Jan 2008 - 22:12:33 -
PeterThoeny