added regex searching