Code: Select all
ts:"a b_b c_(test)"
Code: Select all
t:a t:"b b" t:"c \(test\)"
Code: Select all
#[REPLACETERMS:a b_b c_(test)#,:t:#[[:[regex-replace:[regex-replace:#[[:#term:#]]:,_, ],\(|\),\\$0]#]]:#]:
- Replace all underscores "_" with space " "
- Add backslashes "\" to parenthesis "()"
- Prefix each term with the macro "t:"
However, when I put it into a filter like this:
Code: Select all
#[REPLACETERMS:$param:#,:t:#[[:[regex-replace:[regex-replace:#[[:#term:#]]:,_, ],\(|\),\\$0]#]]:#]:
The search I'm using:
Code: Select all
ts:"a b_b c_(test)"