output_str = makeBashRegex(input_str)
MAKEBASHREGEX is a simple function to make sure that wildcards get handled by Matlab in the same way they would be handled by a bash script, as will likely be more familiar and convenient for users.
output_str = makeBashRegex(input_str) takes the bash-style input_str as input, and returns the matlab-style search string as output for use with matlab wildcard functions such as regexp().