Uploaded image for project: 'James jSieve'
  1. James jSieve
  2. JSIEVE-19

Open square bracket as first char in matching pattern does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • None
    • None

    Description

      this rule
      if header :matches \"X-Caffeine\" \"[test]*\"

      {throwTestException;}

      does not match for
      X-Caffeine: [test] something

      Removing the open square or moving it as the second char instead works.

      Attachments

        Activity

          People

            bago Stefano Bagnara
            bago Stefano Bagnara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: