Fixed $ pattern check.