Code:
alias _file { return $regex($1-,/\.(?:mp3|asf|mov|avi|kar|jpg|bmp|txt|zip|rar|divx|mov|ogg|mpg|mpeg)\b/iS) }


The $ anchor means "end of the string" (or line if used with /m) so I changed it to match a word boundary.

Last edited by tidy_trax; 10/08/05 08:38 PM.