Skip to content

Search does not support regexes #49

@Kylyi

Description

@Kylyi

Describe the bug
The search method does not support regex pattern.

image

To Reproduce

const search = 'some string'
const searchRegex = new RegExp(search, 'gi')

jsonViewer.search(searchRegex)

Expected behavior
As per doc, the search method should support regex patterns

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions