Small change to regex support.