投票支持重新扫描 [英] A vote for re scanner

查看:96
本文介绍了投票支持重新扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每隔几个月我就会在re模块中使用实验性''扫描仪''

对象,当我这样做时,正如我今天早上做的那样,它是
/>
非常方便。因此,如果有人计票使其成为模块的标准部分,那么这是我的投票:


+1


- Wade Leftwich

伊萨卡,纽约

Every couple of months I have a use for the experimental ''scanner''
object in the re module, and when I do, as I did this morning, it''s
really handy. So if anyone is counting votes for making it a standard
part of the module, here''s my vote:

+1

-- Wade Leftwich
Ithaca, NY

推荐答案

wa ** @ lightlink.com (Wade Leftwich)在留言中写道:< 5b ****************** ********@posting.google。 com> ...
wa**@lightlink.com (Wade Leftwich) wrote in message news:<5b**************************@posting.google. com>...
每隔几个月我就会在re模块中使用实验性的''扫描仪''
对象,当我这样做时,就像我今天早上所做的那样,它真的很方便。因此,如果有人计票使其成为模块的标准部分,那么这是我的投票:
Every couple of months I have a use for the experimental ''scanner''
object in the re module, and when I do, as I did this morning, it''s
really handy. So if anyone is counting votes for making it a standard
part of the module, here''s my vote:




虽然我不认为他们还在接受投票:),你已经指出了我到目前为止还不知道的事情。什么样的东西

你有没有使用过re.Scanner?


Jeremy



While I don''t think they''re still accepting votes :), you''ve pointed
me to something I didn''t know about until now. What kinds of things
have you been using re.Scanner for?

Jeremy


< a href =mailto:tw ********* @ hotmail.com> tw ********* @ hotmail.com (Jeremy Fincher)在留言中写道:< ; 69 ******** @ posting.google。 com> ...
tw*********@hotmail.com (Jeremy Fincher) wrote in message news:<69**************************@posting.google. com>...
wa**@lightlink.com (Wade Leftwich)在留言中写道:<图5b ******** @ posting.google。 com> ...
wa**@lightlink.com (Wade Leftwich) wrote in message news:<5b**************************@posting.google. com>...
每隔几个月我就会在re模块中使用实验性的''扫描仪''
对象,当我这样做时,就像我今天早上所做的那样,它真的很方便。因此,如果有人计票使其成为模块的标准部分,那么这是我的投票:
Every couple of months I have a use for the experimental ''scanner''
object in the re module, and when I do, as I did this morning, it''s
really handy. So if anyone is counting votes for making it a standard
part of the module, here''s my vote:



虽然我不认为他们是仍然接受投票:),你已经指出了我到目前为止还不知道的事情。什么样的东西
你一直在使用re.Scanner吗?

Jeremy



While I don''t think they''re still accepting votes :), you''ve pointed
me to something I didn''t know about until now. What kinds of things
have you been using re.Scanner for?

Jeremy




扫描程序是由正则表达式对象构造的并扫描一个字符串

。每次调用扫描器的search()方法都会返回字符串上正则表达式的下一个

匹配对象。所以要处理一个字符串

有多个匹配,它就是蜜蜂的旱冰鞋。



A scanner is constructed from a regex object and a string to be
scanned. Each call to the scanner''s search() method returns the next
match object of the regex on the string. So to work on a string that
has multiple matches, it''s the bee''s roller skates.


2003年11月12日13:04:36 -0800, wa**@lightlink.com (Wade Leftwich)

写道:
On 12 Nov 2003 13:04:36 -0800, wa**@lightlink.com (Wade Leftwich)
wrote:
tw ********* @ hotmail.com(Jeremy Fincher)在留言中写道:< 69 ************* *************@posting.google。 com> ...
tw*********@hotmail.com (Jeremy Fincher) wrote in message news:<69**************************@posting.google. com>...
wa**@lightlink.com (Wade Leftwich)在留言中写道:<图5b ******** @ posting.google。 com> ...
wa**@lightlink.com (Wade Leftwich) wrote in message news:<5b**************************@posting.google. com>...
>每隔几个月我就可以使用实验性的''扫描仪''
> re模块中的对象,当我这样做时,正如我今天早上所做的那样,它是
>真的很方便。因此,如果有人计票使其成为一个标准
>模块的一部分,这是我的投票:
> Every couple of months I have a use for the experimental ''scanner''
> object in the re module, and when I do, as I did this morning, it''s
> really handy. So if anyone is counting votes for making it a standard
> part of the module, here''s my vote:



虽然我不认为他们仍在接受投票:),你已经指出了
直到现在我还不知道的事情。什么样的东西
你一直在使用re.Scanner吗?

Jeremy



While I don''t think they''re still accepting votes :), you''ve pointed
me to something I didn''t know about until now. What kinds of things
have you been using re.Scanner for?

Jeremy



扫描程序是由正则表达式对象和字符串构成的被扫描。每次调用扫描器的search()方法都会返回字符串上正则表达式的下一个
匹配对象。所以要处理一个
有多个匹配的字符串,它就是蜜蜂的旱冰鞋。



A scanner is constructed from a regex object and a string to be
scanned. Each call to the scanner''s search() method returns the next
match object of the regex on the string. So to work on a string that
has multiple matches, it''s the bee''s roller skates.




或者在Eric的情况下,*溜冰鞋。

- dang



Or in Eric''s case, *the* roller skate.
--dang


这篇关于投票支持重新扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆