Hi Josiah, Many thanks for your time and comments. It would be great to improve the regexp section as it is still one of difficult subject for many users :-)
Best Mohammad On Friday, January 17, 2020 at 3:18:11 PM UTC+3:30, TiddlyTweeter wrote: > > Ciao Mohommad > > IT WORKS! Great to have the unicode flag! > > ... it seems has no effect. > > > The reason why you thought it had no effect is you tried it on Persian. > Persian code points are in Unicode Plane 0, which means it is already > supported! You don't need the "u" flag for it. > > The "u" flag enables code points in Unicode Planes 1 and above to be > matched with a simpler single code point rather than having to use complex > combining codes. > > There is a very good explanation here: > https://dmitripavlutin.com/what-every-javascript-developer-should-know-about-unicode/#35-regular-expression-match > > I will update the Regular Expressions Quick Reference for TC to cover how > to use it as soon as I have time: > http://commander.tiddlyspot.com/#%24%3A%2Fplugins%2Fkookma%2Fcommander%2Fhelp%2Fuicomp%2Fregular-expression > > Best wishes > Josiah > > On Thursday, 16 January 2020 12:25:37 UTC+1, Mohammad wrote: >> >> Hi Josiah, >> >> On Thursday, January 16, 2020 at 1:40:15 PM UTC+3:30, TiddlyTweeter wrote: >>> >>> Ciao Mohammad >>> >>> I notice you added "Unicode" support too to SNR! I'll test that tomorrow. >>> >> >> Yes, but it seems has no effect. I search Persian words with and without >> u flag and both returns the same. >> Please check and see if it is needed! I am not sure what is the default >> setting of regex in Javascript which is used by Tiddlywiki. >> >>> >>> TT >>> >> >> --Mohammad >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/730bcabb-9ad8-4b9d-a9f9-16efd3d3e1ae%40googlegroups.com.