I am trying to match header to set in a filter on roundcube. I have found another question about this and i tried the answers, but it doesn't work.
The regex works when tested in RegExr, but roundcube simply denies to save it.
This is my regex: \s*(?:Sun|Mon|Tue|Weds|Thu|Fri|Sat),\s*\d+\s+\w+\s+\d+\s+(?:0[12345678]|1[89]|2[0123]):\d\d:\d\d
Which i found in this answer, adjusted it to my needs: RegEx to match time in "Received: by" e-mail header
It should match times between: 18:00 - 09:00
, which it does.
I am not a regex expert, so is there anyone out there that can help me with this?