Better SAS command key parsing