regexp = re.compile('[A-Z]\\d{4}')
prefix = regexp.match("\"O1533_FOO\" INTEGER NOT NULL ,")
Prefix is None, but I expected it to be "O1533".
When I use the web based tool http://regexr.com/ it works.
I tried to escape the \
with different numbers of \
s, and I also tried delimiting /
s. Could not get it to work.
Can some RegExp expert please fix my expression?