Add support for RegExp "dotAll" flag