How many paths are there in that regex, say n. If n1 of those paths lead to one result, and n2 of those paths lead to another result, then you can model the probability of the first path being n1/n. There you go probability.

I do agree that there is no designed probability in that example though, but there is emergent probability.