regex

From: Ben (bmunyao@gmail.com)
Date: Sun Jul 29 2007 - 05:20:06 ART


Hi

Is there any difference between the following regex?

1. ip as-path access-l 1 permit ^[0-9]+(_[0-9]+)?(_[0-9]+)?$

2. ip as-path access-l 1 permit ^[0-9]+$
    ip as-path access-l 1 permit ^[0-9]+_[0-9]+$
    ip as-path access-l 1 permit ^[0-9]+_[0-9]+_[0-9]+$

TIA
Ben



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:42 ART