Java Pattern Matching ...
I have a list of Strings which represent the names ..for eg:
[hellothere ,cellomello ...]
I have an existing function which filters based on the user input, basically to see if there is any substring
if(name.indexOf(matchString) >= 0)
Hence this will return true if the user input is hello or hell etc ...
But now I need to fileter when there are any wildcards like % or $ etc ..
so that it returns true for inputs such as hel* or he*l