Regular expressions

DunbarX at aol.com DunbarX at aol.com
Thu Feb 5 15:09:56 EST 2009


OK, got the list of these, and I understand all of them but two:

1- The asterisk matches zero or more occurrences of the preceding character 
or pattern...

So why does   "ZA*B" match "ZB", but does not match "AB""

And the "+" matches one or more occurrences of the preceding character or 
pattern

So why does   "ZA*B" match "AB", but does not match "ZB"?

I know it will be obvious in about 20 minutes, when I get the first 
repsonses.

Powerful tools, though.

Craig Newman


**************
Great Deals on Dell Laptops. Starting at $499. 
(http://pr.atwola.com/promoclk/100000075x1217883258x1201191827/aol?redir=http://ad.
doubleclick.net/clk;211531132;33070124;e)



More information about the use-livecode mailing list