Fix regex for action matching