Lua 模式返回零

Lua patterns returning nil

这场比赛 returning 为零,即使在我眼里也还可以。 string:match("^This boots belongs to the player (.-)%.$")

字符串是

legendary boots. It can only be wielded properly by players of level 70 or higher. It weighs 8.00 oz. This boot has less regeneration than a soft boots, but it is infinite. This boots belongs to the player Administrador.

它应该 return 播放器名称 "Administrador",但始终 return 为 nil。我做错了什么?

Lua 似乎没有提供一种方法来接收不同的标志以更改某些锚点/令牌的行为。也就是说,^ 表示字符串的开头而不是行的开头。删除它即可。