Question
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?
Environment
--
AntonioVega - 08 Jan 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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