Fix boolean attributes RegExp.