OpenTelemetry.WildcardHelper
Converts a wildcard pattern to an unanchored regular expression pattern
without backtracking between * wildcards.
Determines whether pattern is a simple prefix* pattern:
exactly one *, located at the end, and no ? at all.