On Wed, 2006-06-07 at 15:55 -0700, John W. Krahn wrote: > print $1 if $date =~ m{ > Wed > \s > Jun > \s\s? > ( [1-9] | [1-2]\d | 3[0-1] ) > \s > }x; >
Isn't there a more reader friendly way to do this. When I look at that, it isn't immediately apparent that the portion of regex is looking for any number between 1 and 31, inclusive. Thanks. -- Joshua Colson <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>