http://qs1969.pair.com?node_id=1181547


in reply to Basic Regular expression

$2 cannot be null, it must be either "e" or "r" or else the entire regex would fail to match. Hopefully the rest becomes obvious once you understand this part?