Skip to content

`match' sometimes returns the wrong result #6202

@AtnNn

Description

@AtnNn

In the data explorer, this query

r.expr(["", ""]).map(x => [x.match(''), x.match('X')]);

returns

[[
  {"end":0,"groups":[],"start":0,"str":""},
  null
], [
  null,
  null
]]

The two array that are returned should instead be identical.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions