renamed regex.[ch] to emacs_regex.[ch] and added a new regex.h file
added a few  missing copyright headers