Message66817
| Author | mark |
|---|---|
| Recipients | mark |
| Date | 2008-05-14.12:40:40 |
| SpamBayes Score | 0.046940923 |
| Marked as misclassified | No |
| Message-id | <1210768849.77.0.700773765733.issue2851@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
The re module has the following flags (amongst others): re.X == re.VERBOSE re.S == re.DOTALL The short forms of both these flags are clearly taken from Perl, but they don't seem necessary for Python and are confusing since all the other short names start with the same letter as the long name, e.g., re.I == re.IGNORECASE and re.M == re.MULTILINE. Why not add re.V for re.VERBOSE and re.D for re.DOTALL and kill re.X and re.S and say a final farewell to Perl? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-05-14 12:40:51 | mark | set | spambayes_score: 0.0469409 -> 0.046940923 recipients: + mark |
| 2008-05-14 12:40:50 | mark | set | spambayes_score: 0.0469409 -> 0.0469409 messageid: <1210768849.77.0.700773765733.issue2851@psf.upfronthosting.co.za> |
| 2008-05-14 12:40:47 | mark | link | issue2851 messages |
| 2008-05-14 12:40:44 | mark | create | |