in reply to RegEx revision needed
Having said that, your regular expressions match lines that "Version", possibly a colon, whitespace, the actual version number, and then something else (comma, or whitespace followed by "PROM"). But the lines that aren't matched but of which you want them to match do have the "Version" and version number, but not the required trailing stuff. For instance, in
There's no comma or 'PROM' that can be matched, so the entire regex fails. You need a more accurate description of your version numbers.Cisco Catalyst Operating System Software, Version 6.3(7)
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: RegEx revision needed
by Anonymous Monk on Oct 09, 2003 at 12:55 UTC |