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
test = CommonRegex('')
test.dates
<function regex.call..regex_method at 0x000000000389F048>
test.dates()
[]
test = CommonRegex('asdasd')
test.dates
[]
test.dates()
Traceback (most recent call last):
File "", line 1, in
TypeError: 'list' object is not callable
This is on python 3.3.3 on Win 7 x64bit
I won't be surprised if this if my failure to understand a concept :)
Obvious workaround to detect empty strings before passing to CommonRegex is obvious.
The text was updated successfully, but these errors were encountered:
This is on python 3.3.3 on Win 7 x64bit
I won't be surprised if this if my failure to understand a concept :)
Obvious workaround to detect empty strings before passing to CommonRegex is obvious.
The text was updated successfully, but these errors were encountered: