i think what might be good is a little wizard or helper on that alias editing dialog, that would help walk the user through common scenarios. advanced users could always customize the regex, but it would at least hold your hand a little if you want to use a simple, typical type of trigger (like you said before a series of space or comma separated arguments, etc). at least that would handle most common scenarios easily.