fixed regex search