added logged fail when compiling regexp