-
Couldn't load subscription status.
- Fork 23
Open
Description
Hi,
I just found out using the range-regex module in pyton is not working to generate regular expressions when dealing with timestamps.
Let's say I want to generate a regex for values from 1420066800 to 1420153199 (unix timestamps) I get the regex: 1420[0-1][6-5][6-3][8-1]\\d{2} which apparently is wrong.
Using he "re" module in python together with the above regex throws an exception with message: "bad character range".
It would make sense to switch the numbers in a range if the left one is bigger than the right one.
Is there a way to get rid of this bug and update the module?
Thank you in advance.
Metadata
Metadata
Assignees
Labels
No labels