Filter not working since 1.5.0.1384a

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
Phantom1472
Posts: 12
Joined: Thu Dec 17, 2020 5:08 pm

Filter not working since 1.5.0.1384a

Post by Phantom1472 »

I have a filter that replaces all punctuation with spaces in my search (so if I search "a,b" it will search for "a b"), but this search filter stopped working in version 1384a+ (stopped working meaning not matter what I put in the search text box, 0 results are found), works just fine in 1383a and all previous version I tested.

This is the search I run:

Code: Select all

#[regex-replace:#[:search:#]:,"[!#$%&'()+,\-\.;=@\[\]^_`{}~]"," "#]:
these are all the options:
Image

Any idea why that is and how to fix it?

Thanks.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Filter not working since 1.5.0.1384a

Post by void »

Change the filter search to:

Code: Select all

#[regex-replace:#param:#,:[!#$%&'()+,\-\.;=@\[\]^_`{}~]#,: #]:


Change the filter macro to:

Code: Select all

removepunctuation
Phantom1472
Posts: 12
Joined: Thu Dec 17, 2020 5:08 pm

Re: Filter not working since 1.5.0.1384a

Post by Phantom1472 »

Thanks, works just like before.

Is this syntax documented anywhere?
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Filter not working since 1.5.0.1384a

Post by void »

Post Reply