[c-nsp] cisco regex puzzle of the day

Job Snijders job at instituut.net
Thu Mar 12 05:11:37 EDT 2015


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       |
     |                                     |
     |_____________________________________|


More information about the cisco-nsp mailing list