Re: URLValidator raising sre_constants.error

2014-03-04 Thread rectangletangle
I believe I may have found the issue. I was using the validator incorrectly. I was passing the string to `__init__` like so ` URLValidator('\\')`, instead of passing it to the `__call__` method like this `URLValidator()('\\')`. On Tuesday, March 4, 2014 4:13:12 PM UTC-8, rectang...@gmail.com wro

URLValidator raising sre_constants.error

2014-03-04 Thread rectangletangle
When entering two backslashes into the URL validator it raises an `sre_constants.error`. As per the docs, it seems like the validator should catch this and then chain a `ValidationError