date = re.search(r'([\x\d\w-.\s,()&\"]+|)
I am migrating a code from PHP to Python, and am using this piece of regex expression on re.match, which doesn't work, giving a python error of:
raise error, v # invalid expression
It works on PHP's preg_match, and also http://www.gskinner.com/RegExr , any idea why this is happening? Thanks!