Dear Mack,

On Wed, Mar 11, 2015 at 05:28:06PM +0000, Mack McBride wrote:
> I haven't tested this but it should work:
> 
> (65400_)+([1-57-9][0-9]*_|6[01-35-9][0-9]*_|64[01-46-9][0-9]*_|645[1-9][0-9]*_|6450[1-9][0-9]*_|64500[0-9]+_)+

This solution meets the requirements. Extra points for avoiding ? and ^

Hat tip to you!

     _______________________________________
     |                                     |
     |        M A C K  M c B R I D E       |
     |                                     |
     |      winner c-nsp regex puzzle      |
     |             March 2015              |
     |                                     |
     |         Good for one beverage       |
     |                                     |
     |_____________________________________|
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to