> if( $string = /([\d]+)-([\d]+)-([\d]+)\s([\d\d):(\d\d):(\w+)/ ) > { > print("Hour:Minute = $4:$5\n"); > } >
You have an unmatched [ in your expression. (\w+) doesn't match the "." if that matters to you. > This is breaking. If anyone can refine this, that would be great. > thanks, > radhika > > -- > It's all a matter of perspective. You can choose your view by choosing > where to stand. > Larry Wall > --- > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- http://xstonedogx.heroesmarket.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>