[Asterisk-Users] sample REGEX's for astcc

Don Pobanz asterisk at hastingsutilities.com
Thu Feb 10 07:10:47 MST 2005


Jason Kawakami wrote:
> So I have a route with [1-9][0-9][0-9][1-9][0-9]* as a base route that
> should match NXXNX. Right?
> 

wrong!
N is 2 to 9, not 1 to 9, so these are not the same. Try
[2-9][0-9][0-9][2-9][0-9]*

Don Pobanz



More information about the asterisk-users mailing list