> > I'm not sure what you mean by your question. Rewrite their > > existing expressions from what? Perl? Maybe. The new > > syntax is very Perl-like. > > I meant from CF 5 and earlier ... the "greedy" regex ... Greedy is the base for all RegEx. > > ------ > > The ? is a new 'command' in MX RegEx that tells the > > previous special character to only operate as many times > > as needed but not more. For example, > > string = "this is a test" > > [a-z]+ will match the whole string > > [a-z]+? will match "t" > > The t is the minimum amount that will satisfy the + > > modifier. > > Didn't ? match 0-1 instance of a given character or sub-expression? > Was this behavior modified in MX to work with * and + or is this just the > way it works? Yes, but note that the ? is after another modifier such as + or *. That means its modifying the modifer, not the character or character set.
> > Isaac > > www.turnkey.to > 954-776-0046 > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists