Re: [j-nsp] REGEX

2017-09-25 Thread Jason Iannone
Try [0-9]{12,} On Mon, Sep 25, 2017 at 11:53 AM, craig washington wrote: > Hello all, hope this is the right place for this. > > I am not the best with Regex and was looking for an expression in a Juniper > that will match on only so many numbers. > > Meaning, I am looking at the mpls lsp statis

[j-nsp] REGEX

2017-09-25 Thread craig washington
Hello all, hope this is the right place for this. I am not the best with Regex and was looking for an expression in a Juniper that will match on only so many numbers. Meaning, I am looking at the mpls lsp statistics "show mpls lsp transit statistics" and I only want to see the LSP's that have l

Re: [j-nsp] Regex

2012-11-25 Thread Ali Sumsam
Thanks Mihai. *Ali Sumsam CCIE* *Network Engineer - Level 3* eintellego Pty Ltd a...@eintellego.net ; www.eintellego.net Phone: 1300 753 383 ; Fax: (+612) 8572 9954 Cell +61 (0)410 603 531 facebook.com/eintellego PO Box 7726, Baulkham Hills, NSW 1755 Australia The Experts Who The Experts Call

Re: [j-nsp] Regex

2012-11-25 Thread Mihai
The first one could be used with Juniper and could be written without "^?" and the second one could be written like this: "456 678" On 11/25/2012 11:26 AM, Ali Sumsam wrote: Hi All, Can anyone confirm, are regular expressions of Cisco exactly same as those in Juniper? for example ^123$ or 456

Re: [j-nsp] Regex

2012-11-25 Thread Saku Ytti
On (2012-11-25 20:26 +1100), Ali Sumsam wrote: > Can anyone confirm, are regular expressions of Cisco exactly same as those > in Juniper? No. There is major difference, regexp atom in JunOS is ASN not byte/char/digit. It may sound like simple difference, but I've found lot of people with previous

[j-nsp] Regex

2012-11-25 Thread Ali Sumsam
Hi All, Can anyone confirm, are regular expressions of Cisco exactly same as those in Juniper? for example ^123$ or 456_678 will be same in Cisco and Juniper? Regards, *Ali Sumsam CCIE* *Network Engineer - Level 3* eintellego Pty Ltd a...@eintellego.net ; www.eintellego.net Phone: 1300 753 383