I'm running into a problem with the python module again.
This is the simplest version (A 'Now', 'AAB') # ['A', 'A'] Print Refundle ('now' A ',' Regexes at runtime from a text file And I can not be certain that they will be in the right order. Is there a way around this issue?
Sort them according to size ... now before
example:
s_regs = sorted (regexes, key = lambda x: len (x)) s_regs .reverse () regex = '|' .join (s_regs)
Comments
Post a Comment