Added flags for RegExp docs