|Perl: the Markov chain saw|
Re^5: Unicode substitution regex conundrumby Lu. (Hermit)
|on Dec 16, 2007 at 22:39 UTC||Need Help??|
I may be too late, seeing your message has been here since nearly two months, but it could still be of use to you or someone else.
(Chinese chars were jumbled, I didn't put the codes in the one-liner)
Furthermore, I played a bit with your code, and when I replaced
it did the job I expected of it.
The quickest workaround I see at the moment would be to declare $word using CJK character ranges instead of \w.
Hope I could be of help.