DOLLAR_ENDONLY
Description:
DOLLAR_ENDONLY
A dollar metacharacter ("$") in the pattern matches only at the end of the string.
Without this option, a dollar also matches immediately before the final character if it is a newline (but not before any other newlines). This option is ignored if g_regex_multiline is set.