in reply to pattern matching difficulties, in two cases
#!/usr/bin/perl while (<>) { if (/\s*inet (addr:)?([\d\.]+) /) { print "$2\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: patern matching difficulties, in two cases
by jcpunk (Friar) on Jun 24, 2003 at 17:08 UTC | |
by sgifford (Prior) on Jun 24, 2003 at 17:31 UTC | |
by jcpunk (Friar) on Jun 24, 2003 at 19:12 UTC |