word boundaries search not working with arabic characters

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

word boundaries search not working with arabic characters

Post by yusef88 »

>\bاب this search does not work for me. is it some limitation in XY or bug?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: word boundaries search not working with arabic characters

Post by highend »

Use code points instead

\u{code point}

https://en.wikipedia.org/wiki/Arabic_script_in_Unicode
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: word boundaries search not working with arabic characters

Post by yusef88 »

like this? >[\u0600-\u06FF]اب
it has an opposite effect, matches words that end with the given string

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: word boundaries search not working with arabic characters

Post by highend »

No, you replace the arabic character with the code point, not the word bounding meta^^
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: word boundaries search not working with arabic characters

Post by yusef88 »

Thanks for the reply but I don't know how
could you please type it

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: word boundaries search not working with arabic characters

Post by highend »

>\b\u0628\u0627
or maybe the other way round, just try it yourself
One of my scripts helped you out? Please donate via Paypal

yusef88
Posts: 1123
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: word boundaries search not working with arabic characters

Post 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.

Post Reply