Skip to content

Procmail fails to parse Regex with curly braces for counting occurences #8

Description

@PoC-dev

Tested with version 3.22-26 (Debian 11).

When using a recipe like the following:

LOGFILE=/home/myuser/.procmail-log
VERBOSE=yes

:0
* ^Subject: Numericvalue:[0-9]{5}$
|mail/Othermbox

mails successfully tested with egrep don't match in procmail. Single or double-escaping the curly braces also doesn't work.

procmail: No match on "^Subject: Numericvalue:[0-9]{5}$"

Poking in the dark: Could it be that the recognition of curly braces clashes with grouping of rules also using curly braces?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions