module Locomotive

Original source code: raw.githubusercontent.com/alexch/rerun/master/lib/rerun/glob.rb License here: github.com/alexch/rerun/blob/master/LICENSE

based on cpan.uwinnipeg.ca/htdocs/Text-Glob/Text/Glob.pm.html#glob_to_regex_string-