Hi there! I've made some changes to the wildcardMatch method in your .dot style code to allow for asterisk wildcard matching not just at the end of the string, but for any substring, and for multiple wildcards. For example, this could help match SNAPSHOT version numbers with the following: *-SNAPSHOT
Here's what I've done:
updated the wildcardMatch method to split the string at *, then step through the resultant string array to see if they appear in sequence in the comparative string
Hi there! I've made some changes to the
wildcardMatch
method in your .dot style code to allow for asterisk wildcard matching not just at the end of the string, but for any substring, and for multiple wildcards. For example, this could help match SNAPSHOT version numbers with the following:*-SNAPSHOT
Here's what I've done:
wildcardMatch
method to split the string at*
, then step through the resultant string array to see if they appear in sequence in the comparative stringIf you want any extra info give me a shout.