> > Similarly > > matched = sString[ ?"\[.*\]" ] > > This can be mostly done by: > regex.matchg(sString,patten,?"\0"++_sep_,"matched") > > However, there is some arbitrariness around the _sep_ which separates > the matched ones. Could it be user-defined one, like ",", "\r\n", etc, > or should it be pre-defined one which then shouldn't be present in the > matched ones?
Could make it return an array with each matched one as an element so that can manipulate them using vec plugin? However, I'm not sure if it's worth the effort as I myself rarely use matchg function, and the usage of the syntax in matchg case should be rather restricted unless have a way to specify replace argument like: regex.matchg(sString, ?"\[(.*)\]", ?"\1", "matched") Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
