18.4.3.2 The Match-end-of-string Operator (\')

This operator (represented by ‘\'’) matches the empty string at the end of the string.