Changed regex.h to regex for compatibility.