diff --git a/Attrap_pref38.py b/Attrap_pref38.py index d2110c933c5cac090287d2166c396ff621859f6e..b040921c46314c8c4a78ff9078a11c1352149ea7 100644 --- a/Attrap_pref38.py +++ b/Attrap_pref38.py @@ -20,7 +20,7 @@ class Attrap_pref38(Attrap_prefdpt): Attrap_prefdpt.select_widgets.append( Attrap_prefdpt.DptSelectWidget( 'menu_deroulant', - regex='.*([0-9]*(?:er|ER)? [A-Za-zéÉûÛ]* [0-9]*)', + regex='([0-9]{1,2}[er]{0,1} [a-zéû]* [0-9]{4})', css_path='select#-liste-docs' ) )