[Tutor] Regexp result

Helge Aksdal helge at aksdal.net
Wed Jan 21 12:17:53 EST 2004

Is there anyway that i can get the result of a regexp match into                                         
strings? In Perl i use qr to do this:

qr '(\w\w\w)\s(\d+?)\w+\s(\d\d:\d\d:\d\d)',                                                                                    
q  '($month, $day, $time) = ($1, $2, $3)',

Hope this was clear enough. 

Helge Aksdal

More information about the Tutor mailing list