<div class="gmail_quote">On Thu, Feb 25, 2010 at 9:31 AM, Nick Lewis <span dir="ltr"><<a href="mailto:Nick.Lewis@atltelecom.com">Nick.Lewis@atltelecom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">>Let's leave out ?, too<br>
<br>
</div>That's a shame - I was hoping to use it to indicate exactly one ascii<br>
char - oh and also an 'A' wildcard for one alphanumeric char!<br></blockquote><div><br>Been thinking about ? for 0-or-1 occurrences, and it hit me that in the<br>case of dialplan usage, it would probably be not useful. Think about it,<br>
when would anyone want to do:<br><br>_213555?1212<br><br>and make one of the 5's optional? I can't think of any kind of situation where<br>that would be useful. So maybe I'm worrying about nothing. ? for ANY<br>
single ascii char is actually not a bad usage. actually I like it. <br><br>A would seem more for just Alphabetic chars, wouldn't it? But who the heck would just want an<br>alpha and exclude a number also? So A standing for alpha-num is a good choice also.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
>That leaves us with ~ and %.<br>
<br>
</div>I would be comfortable with using % for zero-or-more - and limiting it<br>
to the end of the pattern (which makes implementation easier).<br>
<font color="#888888"><br></font></blockquote><div>groovy<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
--N_L<br>
</font><div class="im"><br clear="all"></div></blockquote></div><br>-- <br>Steve Murphy<br>ParseTree Corp<br><br>