Fixed problem on regex in wrapper.py