Regex to detect HAML attribute expression whilst ignoring following text.

Published on Tue Mar 01 2022

Can handle complex bracket expressions.