in reply to Re^4: String Matching
in thread String Matching
my ( $from, $srvrip ) = $remainder =~ m/<=\s*(\S+)[^[]+\[([^\]]+);
If that's not just a cut-and-paste tyop (no terminating / for the m//), then your Perl implementation is seriously deficient since Perl has had the \S character class (complement of \s) since 4.? at least (to the best of my recollection).
Update: I just noticed that the Solaris Perl 5.8.4 compiler is complaining about both \S and \s (big-S and little-s) classes. Well, the comment still applies.
|
|---|