Subject: Regular expression match
From: rubix Rubix <aggouni2002 yahoo.fr>
Date: Tue, 22 Nov 2011 07:02:10 +0900
Hi,
Can anyone explain to me this regular expression, please:
str[/\A([a-z]\w*)/, 1]
what's the use of 1 in this expression
regards,
--
Posted via http://www.ruby-forum.com/.