You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For this regular expression exrex.count gives less than the real value:
In [33]: re = r'(1[0-2]|0[1-9])(:[0-5]\d){2} (A|P)M'
In [34]: exrex.count(re)
Out[34]: 7224
In [35]: 12*60*60*2 # This should be the value (as many seconds in a day)
Out[35]: 86400
However for the part, I thought to be critical, it works well:
In [36]: re = r'(:[0-5]\d){2}'
In [37]: exrex.count(re)
Out[37]: 3600
Version 0.10.5
The text was updated successfully, but these errors were encountered:
For this regular expression exrex.count gives less than the real value:
However for the part, I thought to be critical, it works well:
Version 0.10.5
The text was updated successfully, but these errors were encountered: