Y
Hacker News
new
|
ask
|
show
|
jobs
by
wnoise
1003 days ago
[ab] is a character class, not a parenthesized catenation. It's (a|b), not (ab). So [ab]* is {epsilon, a, b, aa, ab, ba, bb, ...}