moved regexp function into uspatent script
igoring pyc fles
now calling function from script file instead of using code from test. TDD