This appears to be introduced in the commit [1]. I couldn't find any explanation of the change of regexp in the previous commit to this commit.
More specifically, in the previous commit, the regexp had [:>|}] character alternative. But this commit changes it to []>|}+]. Why is ] included in this character alternative?