Regex bugfix