http://qs321.pair.com?node_id=458225


in reply to Regex Anchors confusion

The second test is looking for a word boundary, followed by a space, followed by a word boundary, followed by the end of the string.

The pattern doesn't match your data. I can't immediately think of a situation where / \b$/ would ever match.