Add RegExp support.