Bugzilla – Bug 4520
Exit status wildcards
Last modified: 2013-01-17 14:40:44 UTC
Is there any reason not relying on a standard regex (very easy to implement with String.matches) instead of a custom matching system?
The current behavior is a form of globbing, so it's not as if it's uniquely custom to JSR 352.
Glob patterns seem simpler to work with for simple cases
so if you're not expecting JSL authors to take full advantage of regex(s), then
I can see an advantage with globbing.
I'd actually originally suggest we be explicit that there would be no backslash escaping, which isn't in the spec.
Wikipedia has a nice breakdown of different globbing patterns:
and does show that there isn't a single, standard "glob" behavior.
We're sticking with the globbing approach.