String pattern for chinese word
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: String pattern for chinese word
- From: jiang yu <yu.jiang.163@...>
- Date: 2012年4月16日 20:55:24 +0800
Hi all!
s = [[ '\xe8\x8b\xb1\xe9\x9b\x84\xe6\x95\x91\xe7\xbe\x8e','id','哈哈','6' ]]
for i in string.gmatch(s,"'(%w+)'") do
print(i)
end
output is:
id
6
How can I get the all four words?
mos