How can I ask if a regex matches any part of string?