From 9ab9026d754ad436b6ab9409f8a78cb69743ff61 Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 3 Sep 2014 14:43:22 +0200 Subject: [PATCH] Fix numbering of the list --- weboob/tools/regex_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/tools/regex_helper.py b/weboob/tools/regex_helper.py index 95046a89..734a1a6d 100644 --- a/weboob/tools/regex_helper.py +++ b/weboob/tools/regex_helper.py @@ -79,9 +79,9 @@ def normalize(pattern): (3) Select the first (essentially an arbitrary) element from any character class. Select an arbitrary character for any unordered class (e.g. '.' or '\w') in the pattern. - (5) Ignore comments and any of the reg-exp flags that won't change + (4) Ignore comments and any of the reg-exp flags that won't change what we construct ("iLmsu"). "(?x)" is an error, however. - (6) Raise an error on all other non-capturing (?...) forms (e.g. + (5) Raise an error on all other non-capturing (?...) forms (e.g. look-ahead and look-behind matches) and any disjunctive ('|') constructs.