Fix regexp attribute in the attribute example