$ perl -e '/*/' Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE / at -e line 1. $ perl -e '/\*/'