Add copy of emacs/src/regex.c with look-ahead/behind fixes