Test, validate and match regular expressions
Matches words containing one or more hyphens, such as 'well-known' or 'state-of-the-art'. It captures the entire hyphenated phrase, which is useful for find-and-replace operations on compound terms. Case-insensitive and Unicode-aware.