As per @kylemcdonald's suggestion, regex is attribute order-independent