edsnlp.pipelines.misc.dates.patterns.duration cue_pattern = '(pendant|durant|pdt)' module-attribute duration_pattern = [cue_pattern + '.{,3}' + numbers.number_pattern + '\\s*' + units.unit_pattern] module-attribute