Text filtering with regex problem #1613
Unanswered
bartwitkowski
asked this question in
Q&A
Replies: 1 comment
-
Found this long after the fact debugging a related problem. You probably need to end your regex wth |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Changedetection version v0.42.2
I'm checking Tesla inventory prices, because sometime there are reductions in price (1) but some times there are not (2).
(1) with reduction price I get output:
271 990 zł 272 990 zł
271 990 zł 272 990 zł
280 290 zł 281 290 zł
(2) without reduction just:
211 490 zł
217 990 zł
219 490 zł
Because I want to get notified only with (1) I've added Text filtering with regex:
/\d{3} \d{3}.+\d{3} \d{3}.+/
I tested the regex using https://regex101.com/ and it works as expected but not in Chagedetecion, because I still get notification in both (1) and (2) cases :(.
Am I doing sth incorrectly?
Please help....
Beta Was this translation helpful? Give feedback.
All reactions