implement regex search - fixes #2