I am experiencing weird problem with regex matching.
Here is my simplified script:
#!/usr/bin/python3 import os, sys, stat, regex, socket IP = r\'(?P