commit | 782555a674de2ab6f1760f13c4a1b17400f64533 | [log] [tgz] |
---|---|---|
author | Benjamin Schubert <contact@benschubert.me> | Fri Aug 28 13:57:24 2020 +0000 |
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | Fri Mar 18 16:09:21 2022 +0900 |
tree | 10f5dad7be283778d28c73fe9b0495cb92e6743a | |
parent | ab736495e746cbfd07179a09f9b0bdc156c4a2eb [diff] |
utils.py: Replace the (?ms) switch by equivalent re. options The 'm' switch stands for multiline output. The 's' makes '.' also match newlines. It is problematic in mutliple places where its use is deprecated, as now they need to be at the start of an expression, which is not the case in all the calls to it that we are doing. If someone wants the same functionality, they should add it explictely after calling _glob2re