add print function of regex compiling error