renamed a function, added a grepOne function that greps a string but stops after the first match