Page 1 of 1

word boundaries search not working with arabic characters

Posted: 06 Dec 2021 10:01
by yusef88
>\bاب this search does not work for me. is it some limitation in XY or bug?

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 10:13
by highend
Use code points instead

\u{code point}

https://en.wikipedia.org/wiki/Arabic_script_in_Unicode

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 11:46
by yusef88
like this? >[\u0600-\u06FF]اب
it has an opposite effect, matches words that end with the given string

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 11:53
by highend
No, you replace the arabic character with the code point, not the word bounding meta^^

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 12:52
by yusef88
Thanks for the reply but I don't know how
could you please type it

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 13:04
by highend
>\b\u0628\u0627
or maybe the other way round, just try it yourself

Re: word boundaries search not working with arabic characters

Posted: 06 Dec 2021 13:40
by yusef88
You mean replacing each letter with its equivalent Unicode
Tried it on different ways and does not seem to work
I'll use everything search instead, thanks for your help.