RegExp.DollarEndOnly (gb.pcre)

Const DollarEndOnly As Integer = 16 ' &H10

Specifies that the dollar ($) expression will not match a newline at the end of the subject string, but only the actual end of the string. By default, a dollar will match the end of the string with or without a newline preceding it.