switch on global search for regex's