"regex"! = "regular expression". The latter are pure and simple and interesting only to theoretical computer scientists and symbolic mathematicians.
"ordered selection" is an implementation option for regex processors.
You say "if alternatives are substrings of each other, then regular expressions don't behave by random order."
A much more correct statement would be: "Some regular expression processors use an ordered choice for ALL alternations, which becomes noticeable if the alternative is a prefix of another."
source
share