Menu

#273 `RegEx Filter` feature does not seem to work

Next_Release
closed
None
Bug Report
5
2024-10-19
2024-03-25
No

The promising RegEx Filter feature does not seem to work (created via the Setup ignore/replace definition dialog box).

No matter what I specify for the filter, it never matches. The log shows the match is being attempted, but the filter always fails to match anything. I've tried the most basic regex filters possible (even simple test filters like \d\.\d, ., and .*), but even they never match content they should be matching.

WCM 24.02 on Linux Mint Cinnamon 21.3

Discussion

  • Morten MacFly

    Morten MacFly - 2024-03-30

    You have to be careful with this one: It is intended to operate line-by-line and only if the group is active. Otherwise, it will filter out everything easily and you end up with a empty content.
    If you look here:
    https://sourceforge.net/p/webchangemon/forum/tips_tricks/thread/9a24e5d045/#37e7
    ...it can be successfully applied.

    Do you have an example of a webpage where you believe it does not work - and what are yo trying to filter?

     
    • Gitoffthelawn

      Gitoffthelawn - 2024-04-09

      Thanks. I'm planning on taking another look at this to see what's going on.

       
  • Morten MacFly

    Morten MacFly - 2024-03-30
    • status: open --> pending
     
  • Gitoffthelawn

    Gitoffthelawn - 2024-04-21

    Question: Is WCM supposed to return the entire line when such a filter matches, or only the filtered string(s)?

     
    • Morten MacFly

      Morten MacFly - 2024-05-20

      It is supposed to keep the entire line. This is a"positive" filtering. I.e. "Keep what I look at and remove everything else". Maybe an option to do the opposite would be a nice additional filter.

       
      • Morten MacFly

        Morten MacFly - 2024-05-20

        Maybe an option to do the opposite would be a nice additional filter.

        ...which is implemented now in SVN.

         
  • Morten MacFly

    Morten MacFly - 2024-05-20
    • Group: Future_Release --> Invalid
     
  • Morten MacFly

    Morten MacFly - 2024-10-19
    • status: pending --> closed
    • Group: Invalid --> Next_Release
     

Log in to post a comment.

MongoDB Logo MongoDB