2009年7月25日星期六

[PerlChina] Re: 请教一个正则表达式的问题

2009/7/25 Cheese <cheeselee@126.com>:
>
> 看看你引用的那段的前一段:
>       The numbered match variables ($1, $2, $3, etc.) and the related
>       punctuation set ($+, $&, "$`", "$'", and $^N) are all
> dynamically
>       scoped until the end of the enclosing block or until the next
>       successful match, whichever comes first.  (See "Compound
> Statements" in
>       perlsyn.)
>

你想说明什么?你能用这个解释 perl 5.10.0 在这里的行为么?
另外,这段话在 perl 5.8.8 的 perlre 中也是有的,你又如何用它来解释
perl 5.8.8 在这里的行为?

lee

--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

没有评论: