[Newbies] VB-Regex issue...
Lawson English
lenglish5 at cox.net
Mon Aug 1 08:02:58 UTC 2011
anyone familiar with VB-Regex package?
this code should be returning an ordered collection of 25 hits (I
thought). Instead it returns one long string of all 25 hits:
http://pastebin.com/eGcX6vg2
source string: http://pastebin.com/AkyQrXGD
I've been playing with this one for an several hours. I can't tell if
the strings are too complicated or if I'm just using the wrong syntax,
though the simple example works just fine.
'\w+' asRegex matchesIn: 'Now is the Time' => an OrderedCollection('Now'
'is' 'the' 'Time')
Thanks.
Lawson
More information about the Beginners
mailing list