Verify correct behaviour of RegExp instance properties
Open
server
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Per [ES7 §21.2.6](https://www.ecma-international.org/ecma-262/7.0/#sec-properties-of-regexp-instances):
> Prior to ECMAScript 2015, RegExp instances were specified as having the own data properties `source`, `global`, `ignoreCase`, and `multiline`. Those properties are now specified as accessor properties of RegExp.prototype.
We should ensure that this impedance mismatch between the specified ES5.1 behaviour and current Node.js behaviour is dealt with correctly.
Contributor guide
Assessment
This issue has not been assessed yet.