Guildenstern has asked for the wisdom of the Perl Monks concerning the following question:
This should yield:/[^\d]+([^ ]+)[^\d](\d+)(.*?)$/; print "$1\n$2\n$3\n";
111.11.111.111/1162 7070 !
111.11.111.111 1162 to local port 7070: !
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Matching (non)spaces in regex?
by Ovid (Cardinal) on Sep 28, 2000 at 00:06 UTC | |
|
(Guildenstern) Re: Matching (non)spaces in regex?
by Guildenstern (Deacon) on Sep 27, 2000 at 23:58 UTC | |
|
Re: Matching (non)spaces in regex?
by Fastolfe (Vicar) on Sep 28, 2000 at 00:05 UTC |