Use regexp instead of hardcoded version number.
Showing
1 changed file
with
6 additions
and
3 deletions
... | @@ -50,7 +50,8 @@ ENVELOPE TO: <coyote@desert.example.org> | ... | @@ -50,7 +50,8 @@ ENVELOPE TO: <coyote@desert.example.org> |
50 | 16: [0-9:=-]+ | 50 | 16: [0-9:=-]+ |
51 | 17: Content-Type: message/delivery-status | 51 | 17: Content-Type: message/delivery-status |
52 | 18: | 52 | 18: |
53 | 19: Reporting-UA: sieve; GNU Mailutils 0.1.2 | 53 | -re |
54 | 19: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]* | ||
54 | -re | 55 | -re |
55 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* | 56 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* |
56 | 21: Final-Recipient: RFC822; foobar@nonexistent.net | 57 | 21: Final-Recipient: RFC822; foobar@nonexistent.net |
... | @@ -109,7 +110,8 @@ ENVELOPE TO: <b1ff@de.res.example.com> | ... | @@ -109,7 +110,8 @@ ENVELOPE TO: <b1ff@de.res.example.com> |
109 | 16: [0-9:=-]+ | 110 | 16: [0-9:=-]+ |
110 | 17: Content-Type: message/delivery-status | 111 | 17: Content-Type: message/delivery-status |
111 | 18: | 112 | 18: |
112 | 19: Reporting-UA: sieve; GNU Mailutils 0.1.2 | 113 | -re |
114 | 19: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]* | ||
113 | -re | 115 | -re |
114 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* | 116 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* |
115 | 21: Final-Recipient: RFC822; foobar@nonexistent.net | 117 | 21: Final-Recipient: RFC822; foobar@nonexistent.net |
... | @@ -166,7 +168,8 @@ ENVELOPE TO: <bar@dontmailme.org> | ... | @@ -166,7 +168,8 @@ ENVELOPE TO: <bar@dontmailme.org> |
166 | 16: [0-9:=-]+ | 168 | 16: [0-9:=-]+ |
167 | 17: Content-Type: message/delivery-status | 169 | 17: Content-Type: message/delivery-status |
168 | 18: | 170 | 18: |
169 | 19: Reporting-UA: sieve; GNU Mailutils 0.1.2 | 171 | -re |
172 | 19: Reporting-UA: sieve; GNU Mailutils [0-9][0-9.]* | ||
170 | -re | 173 | -re |
171 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* | 174 | 20: Arrival-Date: [A-Z][a-z][a-z], [A-Z][a-z][a-z] [ 0-3][0-9] [ 0-2][0-9]:[0-6][0-9]:[0-6][0-9] [0-9][0-9][0-9][0-9] [a-zA-Z0-9]* |
172 | 21: Final-Recipient: RFC822; foobar@nonexistent.net | 175 | 21: Final-Recipient: RFC822; foobar@nonexistent.net | ... | ... |
-
Please register or sign in to post a comment