[asterisk-dev] Better pattern matching

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Aug 1 23:29:55 CDT 2007


On Wed, Aug 01, 2007 at 05:03:50PM -0600, Steve Murphy wrote:

> The trouble with doing full-alphanumeric pattern matching, is that we
> already use X and Z for matching digits.... otherwise, we could allow
> stuff like _XerceZ[a-zA-Z0-9]. Maybe we could trade X for @ and Z for %
> or somesuch and get back those letters! And the - in character groups --
> we need to allow similar syntax like _XerceZ[-a-ZA-Z0-9], to allow
> dashes.

Indeed the is already a problem. Look at the sample say.conf:


               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+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