debug print of swig version before regex error