<?php var_dump(preg_match('/^(A{1,2}B)+$/',str_repeat('AB',4000)));
You have javascript disabled. You will not be able to edit any code.