nextapps-de / flexsearch

Next-Generation full text search library for Browser and Node.js
Apache License 2.0
12.54k stars 492 forks source link

Invalid regular expression #410

Open Agrumas opened 11 months ago

Agrumas commented 11 months ago

Hi all, there is issue with older mobile browsers on Android 8 or less.

Invalid regular expression: /[\p{Z}\p{S}\p{P}\p{C}]+/: Invalid escape

This regex that causes: https://github.com/nextapps-de/flexsearch/blob/1243fd883ec3aa6113a22919d2cad334cd006c80/src/lang.js#L50

It was reported a while back:

296