1Regexp: S(a|)E 2SE: Ok 3SxE: Fail 4Regexp: S(|b)E 5SE: Ok 6SxE: Fail 7Regexp: S(a||b)E 8SE: Ok 9SxE: Fail 10