March 28, 2014
12:49 p.m.
I find myself often writing code like: matcher := RxMatcher forString: '<p>SHA-1\: (\w+)</p>'. matcher search: shaLine trimBoth. ^ matcher subexpression: 2. Is there an easier way, or could a convenience method be useful to write e.g.: '<p>SHA-1\: (\w+)</p>' asRegex subexpression: 2 in: aString ----- Cheers, Sean -- View this message in context: http://forum.world.st/Regex-groups-tp4751339.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.