<?php var_dump(preg_match('/^([a-z]{2}|all)$/', 'fren')); var_dump(preg_match('/^[a-z]{2}|all$/', 'fren'));
You have javascript disabled. You will not be able to edit any code.