Add globbing functions and change the regex interface