having trouble with the regex search