Thanks choroba for reply. The suggested method is as my very old way of coding style. However, I will encounter an issue with my editor whereby I must have the .pl file saved in UTF-8 encoded type in order to hard code it like while ($string =~ /【(.*?)】/g)
Furthermore, there are some other issue which I can't remember so I ditch such direct use of Chinese character in my codes.
In reply to Re^2: String match in Chinese character
by hankcoder
in thread String match in Chinese character
by hankcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |