$re = '\$'; # or, better yet: $re = qr/\$/; [download]
In reply to Re: re bug? by japhy in thread re bug? by dash2