7stud -- wrote:
> In the expression:
> 
> html[regex, 1]
> 
> The 1 says to return the first parenthesized group in the regex.

To be a little clearer, the 1 says to return whatever matched the first 
parenthesized group in the regex.






-- 
Posted via http://www.ruby-forum.com/.