$s =~ /\\(.*?)$/; # UPDATE: THIS IS WRONG!!! my $endPart = $1;