Find some text characters

Thierry Douez th.douez at gmail.com
Tue Jul 18 06:43:12 CEST 2017


2017-07-18 6:31 GMT+02:00 Peter Bogdanoff via use-livecode <
use-livecode at lists.runrev.com>:

> Thierry, I ended up using your first Regex example—works great!
>
> It is very good to know about \p{} matches—everything from Arabic to Yi.

That may come in handy later.
>
> Thanks,
>
> Peter
>
>
​Glad that you like it :)
​

> >> function testForChinese T
> >> ​xt​
> >> ​ -- any htmltext​
> >>   return matchText(
> >> ​Txt
> >> , "&#\d{5};")
> >> end testForChinese
>

​funny way to re-organize my 3 lines of code ???
Might be a Opera thing ???

should be read as:

function testForChinese Txt
    return matchText( Txt, "&#\d{5};" )
end testForChinese



-- 
------------------------------------------------
Thierry Douez - sunny-tdz.com
sunnYrex - sunnYtext2speech - sunnYperl - sunnYmidi - sunnYmage


More information about the use-livecode mailing list