[asterisk-dev] zero-or-more match

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Feb 10 07:01:00 CST 2010


On Wed, Feb 10, 2010 at 11:44:23AM -0000, Nick Lewis wrote:

> "3%" matches "", "3", "33" etc
> "[a-z]%" matches "", "b", "yx" etc
> "X%" matches "", "0", "98" etc
> "3\%" matches "3%"

To stress that, I figure you also want that:

"3%1" matches "", "31", "331" etc
"[a-z]%1" matches "", "b1", "yx1" etc
"X%1" matches "", "01", "981" etc

Right?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list