-
Tim Hunt authored
Teachers were typing patterns like ********************************<em>****************************</em> which translates into a pattern like .*.*.*.*, which is very inefficient to try to match, althought it is equivalent ot a single .*. At a certain point preg was just giving up. Since people actually do this, we should simplify the regex by treating runs of * like a single *.
Tim Hunt authoredTeachers were typing patterns like ********************************<em>****************************</em> which translates into a pattern like .*.*.*.*, which is very inefficient to try to match, althought it is equivalent ot a single .*. At a certain point preg was just giving up. Since people actually do this, we should simplify the regex by treating runs of * like a single *.
Loading