<?php preg_match("@^(?:(foo|)|(bar))$@", "bar", $r); var_dump($r);
You have javascript disabled. You will not be able to edit any code.