in reply to Re: conditional syntax options
in thread conditional syntax options

A /$/ will match a newline as well as end-of-string. To match a literal end-of-string, use /\z/ instead.