clauderic / clauderic/react-native-highlight-words

buf if word start with "+" char

Open
#16 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
205
Forks
74
PR merge metrics
No merged PRs in 30d

Description

hello.

There is a bug if the text to higliht start with a "+"
for example

const display = "+ Laburnocytisus adami" ;

return this error :

SyntaxError: SyntaxError: Invalid regular expression: /+/: Nothing to repeat

any idea to fix it ? thx

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.