Skip to content

The JSON matcher does not seem to be working with regexes. #83

Closed
@robinvdvleuten

Description

@robinvdvleuten

Hi there,

Currently I try to match the following pattern:

{
  "entries": [
    {
      "id": @string@.matchRegex('/^[a-f0-9]{8}\-[a-f0-9]{4}\-4[a-f0-9]{3}\-(8|9|a|b)[a-f0-9]{3}\-[a-f0-9]{12}$/')
    }
  ]
}

But somehow the matcher does not detect the regex correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions