better handle regexp in !last commands