[Asterisk-Dev] better pattern matcher

Reini Urban r.urban at inode.at
Thu Jun 5 22:43:20 MST 2003


I have to match against an ending pattern.
Something like _09nnnn.8500

The problem is that . immediately returns.
My suggestion is to use a better matcher like
glob or regex or pcre which supports this.

Or at least check if there are still characters behind the "." in the 
pattern to match against.
So "." will relate to ".*" in regex or "*" in glob.

Will such a patch be considered useful?
-- 
Reini Urban - Development - http://inode.at




More information about the asterisk-dev mailing list