主题
:
【求助】【总站】请教机器人
查看单个帖子
2006-10-29
#
4
Wulin
初级会员
注册: 06年03月17日
帖子: 17
声望力:
0
声望: 10
现金:1700两梁山币
资产:1700两梁山币
致谢数: 0
获感谢文章数:0
获会员感谢数:0
回复: 【求助】【总站】请教机器人
引用:
作者:
wolf_iori
有帮助的 s 空格 x 字符 *任意值 d 字母
%s is space
%w is word
%d is number
%x is a string?
* is anything without space
When u see a sentence, eg
Hello, how are you 554?
you put the pattern as
Hello, %w%s are you %s%d?
%1=how
%4=554
In practice you may need to put () around the %w,%d
Wulin
查看公开信息
查找 Wulin 发表的帖子