Skip to content

Highlighter breaks when searching for special characters #53

Description

@mshibl

First, thank you for building this neat react component.

I've found a bug where passing any special character breaks the internal regex matching in Highlighter Component.

Here's a demo demonstrating the bug:
https://codesandbox.io/s/204r9kz6lj

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions