We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I have these 2 transforms that i would expect to be equivalent but they produce different results. Im using this context.
[ "Felicia Saunders", "Jimmy Schultz", "Dolores Figueroa", "Craig Moreno", "Lindsey Hall", "Bonnie Russell", "Kristin Stewart", "Owen Reid", "Brenda Sherman", "Dwayne Baldwin" ]
The first transform is the one that seems to be buggy. $map($, $match(?, /^(\w*\s\w*)/)) Results
$map($, $match(?, /^(\w*\s\w*)/))
[ [ { "match": "Felicia Saunders", "index": 0, "groups": [ "Felicia Saunders" ] } ], [], [ { "match": "Dolores Figueroa", "index": 0, "groups": [ "Dolores Figueroa" ] } ], [], [ { "match": "Lindsey Hall", "index": 0, "groups": [ "Lindsey Hall" ] } ], [], [ { "match": "Kristin Stewart", "index": 0, "groups": [ "Kristin Stewart" ] } ], [], [ { "match": "Brenda Sherman", "index": 0, "groups": [ "Brenda Sherman" ] } ], [] ]
This produces what i would expect $map($, function($i){ $match($i, /^(\w*\s\w*)/) }) Results
$map($, function($i){ $match($i, /^(\w*\s\w*)/) })
[ [ { "match": "Felicia Saunders", "index": 0, "groups": [ "Felicia Saunders" ] } ], [ { "match": "Jimmy Schultz", "index": 0, "groups": [ "Jimmy Schultz" ] } ], [ { "match": "Dolores Figueroa", "index": 0, "groups": [ "Dolores Figueroa" ] } ], [ { "match": "Craig Moreno", "index": 0, "groups": [ "Craig Moreno" ] } ], [ { "match": "Lindsey Hall", "index": 0, "groups": [ "Lindsey Hall" ] } ], [ { "match": "Bonnie Russell", "index": 0, "groups": [ "Bonnie Russell" ] } ], [ { "match": "Kristin Stewart", "index": 0, "groups": [ "Kristin Stewart" ] } ], [ { "match": "Owen Reid", "index": 0, "groups": [ "Owen Reid" ] } ], [ { "match": "Brenda Sherman", "index": 0, "groups": [ "Brenda Sherman" ] } ], [ { "match": "Dwayne Baldwin", "index": 0, "groups": [ "Dwayne Baldwin" ] } ] ]
Does this seem like a bug or is there something im missing?
Thanks
The text was updated successfully, but these errors were encountered:
It's a bug - thanks for reporting this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hello,
I have these 2 transforms that i would expect to be equivalent but they produce different results. Im using this context.
The first transform is the one that seems to be buggy.
$map($, $match(?, /^(\w*\s\w*)/))
Results
This produces what i would expect
$map($, function($i){ $match($i, /^(\w*\s\w*)/) })
Results
Does this seem like a bug or is there something im missing?
Thanks
The text was updated successfully, but these errors were encountered: