Well, it turns out I'm just not very bright (and it only took me a month to figure that out!). Since command line arguments in batch files are delimited by spaces anyway and, in this case, since I'm using spaces to delimit the arguments in FARR, I don't actually need to specify multiple capturing groups in the regex. The screenshot is how I'm setting this up:
The first line in the results box allows me to enter an argument, multiple arguments, or even no argument at all. I realize the way this particular one is set up I don't need $$2. The second and third lines are pre-defined examples of what the different arguments might look like.
My question does still stand, however, if I were to use something other than spaces to delimit the different arguments. I think this would also be useful in the case of czb's Table Data Search plugin, where (if I understand it right) you currently need to create a specific regex to match the data you are filtering. (e.g. if you are filtering on 4 columns of data, you need to create a regex with 4 capturing groups.)
So, my question is - how can I create a regex that will allow me to enter an arbitrary number arguments (bonus points if it also allows you to use a variety of delimiters). In the case of my alias above, I might not want to enter any arguments, or maybe I want to enter 1, or 2. In the case of the Table Data Search plugin, there could be more. Is there a way to create a regex that is flexible enough to do this?
@lanux128: Thanks for the suggestion, but from what I can see, while the nircmd aliases do use multiple arguments, the user needs to fill them all in to make the alias work - so that's a bit different than what I'm looking for.