<?php preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar'); if (preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR) { echo 'Backtrack limit was exhausted!'; } if (preg_last_error() == PREG_BACKTRACK_LIMIT_ERROR) { echo 'Backtrack limit was exhausted!'; }
You have javascript disabled. You will not be able to edit any code.