- Category:
- Document
- Tags:
-
- File Size:
- 24kb
- Update:
- 2018-04-15
- Downloads:
- 0 Times
- Uploaded by:
- 天朝的公民
Description: str1="women dushi haohaizi 2018/4/13"
print(string.match(str1,"(%a+)%s%s(%a+)")) --nil
print(string.match(str1,"(%a+)%s(%a+)")) --womendushi
print(string.match(str1,"%a+%s%a+")) --women dushi
print(string.match(str1,"%a-%s%a-"))
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
2.lua | 846 | 2018-04-14
|
4.lua | 693 | 2018-04-14
|
66.lua | 617 | 2018-04-13
|
dump-load.lua | 221 | 2018-04-13
|
formatѧϰ.lua | 1842 | 2018-04-14
|
gsub.lua | 874 | 2018-04-14
|
matchѧϰ.lua | 574 | 2018-04-14
|
string.lua | 4942 | 2018-04-14
|
table.lua | 5383 | 2018-04-14
|
匿名函数-搞不懂.lua | 176 | 2018-04-10
|
匿名函数与函数赋给变量.lua | 794 | 2018-04-14
|
数据类型的隐性转换.lua | 297 | 2018-04-14
|
值赋值(nil+boolen+number+string)和引用赋值.lua | 491 | 2018-04-13
|
(详细)模式匹配.lua | 10498 | 2018-04-14
|
模式匹配(详细).doc | 41472 | 2018-04-14
|
nil-情况很多.lua | 1288 | 2018-04-14 |