One thing that's always bothered me a bit about using wildcards for
action mappings is that it's somewhat less self-documenting than I'd
like.  Although I like being more concise, I'd really rather have an
alternative form that is still concise but still specifies what possible
wildcard values to expect.

For instance, if instead of specifying an action name like "MyStuff_*",
I instead used a regular expression, like
"MyStuff_(add|save|load|delete)", that is still more concise than having
to repeat all the almost duplicate actions, but it says specifically
what patterns to expect.  The simplified wildcard system doesn't allow
for this.

Obviously, this would require a code change to allow regular expression
action name matching instead of the simplified regexp that is used now.

Has anyone ever considered this?

Reply via email to