Drop check for wildcard characters in replace()

Perl's glob doesn't return unmatched patterns but returns the empty
list in that case.