From ruby-talk-admin@ruby-lang.org Thu Dec 15 23:42:46 2005 Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (8.12.3/8.12.3/Debian-6.6) with ESMTP id jBFEgkZk021412; Thu, 15 Dec 2005 23:42:46 +0900 Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id D47CA5BC5; Thu, 15 Dec 2005 23:42:47 +0900 (JST) Received: from localhost (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 807AFF04846; Thu, 15 Dec 2005 23:42:51 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 48D0FF04842; Thu, 15 Dec 2005 23:42:50 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [210.163.138.100]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id D8F7B63002A; Thu, 15 Dec 2005 23:42:52 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [127.0.0.1]) by beryllium.ruby-lang.org (Postfix) with ESMTP id 4DD3033A93; Thu, 15 Dec 2005 23:42:31 +0900 (JST) Received: from localhost (beryllium.ruby-lang.org [127.0.0.1]) by beryllium.ruby-lang.org (Postfix) with ESMTP id B5B2033EF4 for ; Thu, 15 Dec 2005 23:42:21 +0900 (JST) Received: from beryllium.ruby-lang.org ([127.0.0.1]) by localhost (beryllium.ruby-lang.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02296-09 for ; Thu, 15 Dec 2005 23:42:21 +0900 (JST) Received: from fep7.cogeco.net (smtp.cogeco.net [216.221.81.25]) by beryllium.ruby-lang.org (Postfix) with ESMTP id 5D28133A93 for ; Thu, 15 Dec 2005 23:42:21 +0900 (JST) Received: from [192.168.1.102] (d226-86-193.home.cgocable.net [24.226.86.193]) by fep7.cogeco.net (Postfix) with ESMTP id 435AEE13 for ; Thu, 15 Dec 2005 09:42:11 -0500 (EST) Delivered-To: ruby-talk@ruby-lang.org Date: Thu, 15 Dec 2005 23:42:22 +0900 Posted: Thu, 15 Dec 2005 09:42:07 -0500 From: tony summerfelt Reply-To: ruby-talk@ruby-lang.org Subject: Re: regular expressions question To: ruby-talk@ruby-lang.org (ruby-talk ML) Message-Id: <43A180BF.4090103@hotmail.com> In-Reply-To: References: <1134594056.651873.15620@z14g2000cwz.googlegroups.com> X-ML-Name: ruby-talk X-Mail-Count: 36 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-talk-ctl@ruby-lang.org; help= User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Original-To: ruby-talk@ruby-lang.org X-Accept-Language: en-us, en X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ruby-lang.org X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on beryllium.ruby-lang.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=7.0 tests=AWL,BAYES_00, CONTENT_TYPE_PRESENT,FORGED_HOTMAIL_RCVD2,RCVDFRMLOCALIP autolearn=no version=3.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk Lines: 14 List-Id: ruby-talk.ruby-lang.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: X-Virus-Scanned: by AMaViS snapshot-20020531 Ross Bamford wrote on 12/14/2005 4:32 PM: >> i need to capture all matches for a group. for example if >> 'ab c' =~ /^(.)*$/ > You could try: a regex tool i'm finding invaluable is "redet" (on freshmeat) works with a number of languages including ruby... -- http://home.cogeco.ca/~tsummerfelt1 telnet://ventedspleen.dyndns.org