Subject: How to find out the number of pattern matched?
From: Li Chen <chen_li3 yahoo.com>
Date: Sat, 4 Aug 2007 03:47:25 +0900
Hi all,
I search a pattern in a string. How do I know how many times the pattern
is found/matched?
Thanks,
Li
--
Posted via http://www.ruby-forum.com/.