jbetancur / react-data-table-component

A responsive table library with built-in sorting, pagination, selection, expandable rows, and customizable styling.
https://react-data-table-component.netlify.app
Apache License 2.0
2.04k stars 411 forks source link

Crash when adding a + in the filter box: throws an error `Invalid regular expression` #1158

Open insaneintenti0n opened 1 year ago

insaneintenti0n commented 1 year ago

Issue Check list

Describe the bug

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://anothercodeartist.github.io/react-data-table-component/?path=/docs/getting-started-kitchen-sink--kitchen-sink
  2. Enter a + in any filter input box
  3. Nothing shows on the page, but the console shows the Invalid regular expression error.