Dideved - 9:56 pm on Jun 29, 2013 (gmt 0)
It is a fact. The words "greedy", "promiscuous" and "ambiguous" are all technical terms with precise meanings.
"Greedy" is a technical term that describes the quantifier *, not .* as a whole. And since your alternatives also use this greedy quantifier, it's not a compelling argument. "Promiscuous" and "ambiguous", on the other hand, are *not* technical terms. They are not used by the documentation, and they do not have any special, technical meaning for regular expressions. These words are only your and g1's opinionated adjectives, an opinion which is not shared by the wider web community nor by the creators of Apache itself.
Lots of people get by with imperfect rules and slapdash patterns. It is much less common for someone to actively encourage and recommend doing things sloppily-- not simply because you're lazy and "it's good enough for me" but because you think it's better to do a half-### job.
Your alternative patterns are unnecessarily complicated and frequently buggy. It's just plain stupid to believe that a more complicated and/or buggy pattern is better. All so you can gain -- at best -- a few insignificant nanoseconds. Sometimes your alternatives aren't even faster at all, which you would know if you ever bothered to run a benchmark.
And what's worse is that I've posted objective, repeatable, verifiable tests to demonstrate all this to you and g1, and both of you have just stuck your heads in the sand.