-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No tests for type: 'ref'
#57
Comments
Also, let’s rename this to |
The reason there are no tests for $ regjsparser '(s)\1'
{
"type": "alternative",
"body": [
{
"type": "group",
"behavior": "normal",
"body": [
{
"type": "value",
"kind": "symbol",
"codePoint": 115,
"range": [
1,
2
],
"raw": "s"
}
],
"range": [
0,
3
],
"raw": "(s)",
"matchIdx": 1
},
{
"type": "value",
"kind": "octal",
"codePoint": 1,
"range": [
3,
5
],
"raw": "\\1"
}
],
"range": [
0,
5
],
"raw": "(s)\\1"
} Back-references should be preserved in the AST. Ref. mathiasbynens/regexpu#4 |
This is strange and seems like a regression. Testing the ecma suite with the full RegExpJS engine worked fine last year during JSConf, so I am sure it worked somewhen^^ @mathiasbynens, I am heads down in other stuff at the moment, but I will talk about RegExp.JS at Amsterdam.JS and will make sure this is fixed before then ;) |
Thanks for the info, @jviereck! I’ll try to look into it as well. |
This seems to be related to a variable called |
There are currently no tests/examples for atoms with
type: 'ref'
(seecreateRef()
).The text was updated successfully, but these errors were encountered: