Content filter and charachter #

Discussion in 'Installation/Configuration' started by dvestezar, Mar 22, 2016.

  1. dvestezar

    dvestezar New Member

    I have header content filter : /FW\: +Order +Status +\#\d+/
    But no effect if I send message with subject : FW: Order Status #629643

    I tryed
    /FW\: +Order +Status +.\d+/
    /FW\: +Order +Status +[#]\d+/
    /FW\: +Order +Status +#\d+/

    strange is, if filter was set to
    /FW\: +Order +Status +#/
    then filter rejected message

    why ?
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You're trying to use a Perl regular expression. Try using [:digit:] instead of \d.
     
    dvestezar likes this.
  3. dvestezar

    dvestezar New Member

    solved thx
     

Share This Page