Added missing "import re" statement