-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buf if word start with "+" char #16
Comments
Tested "+ Laburnocytisus adami" as textToHighlight prop, cannot reproduce. |
hello, the problem is when searchWords contain "+"
|
I got that bug when I type "+" or "*" into the search words.
|
I tested with this: <Highlighter
style={{ color: '#888', fontSize: 13, fontFamily: 'System', padding: 10 }}
highlightStyle={{ backgroundColor: '#FEF3A2' }}
numberOfLines={3}
ellipsizeMode="middle"
searchWords={["+ Lab", "* Lab", "? Lab", "[ Lab"]}
textToHighlight={"+ Laburnocytisus adami"}
autoEscape={true}
/> I get: No error, so I still can't reproduce. My env:
|
|
Yes, it would be nice. |
hello.
There is a bug if the text to higliht start with a "+"
for example
return this error :
any idea to fix it ? thx
The text was updated successfully, but these errors were encountered: