pattern/string compiling on linux