Regex was using a dangerous syntax, fixed