Use regexp instead of hardcoded version number.
Showing
1 changed file
with
9 additions
and
6 deletions
... | @@ -49,8 +49,9 @@ ENVELOPE TO: <coyote@desert.example.org> | ... | @@ -49,8 +49,9 @@ ENVELOPE TO: <coyote@desert.example.org> |
49 | -re | 49 | -re |
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 |
... | @@ -108,8 +109,9 @@ ENVELOPE TO: <b1ff@de.res.example.com> | ... | @@ -108,8 +109,9 @@ ENVELOPE TO: <b1ff@de.res.example.com> |
108 | -re | 109 | -re |
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 |
... | @@ -165,8 +167,9 @@ ENVELOPE TO: <bar@dontmailme.org> | ... | @@ -165,8 +167,9 @@ ENVELOPE TO: <bar@dontmailme.org> |
165 | -re | 167 | -re |
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