Просмотр исходного кода

Use NULL over nil for non-object pointer for consistency.

Ryan Olson лет назад: 12
Родитель
Сommit
5a34e1eedf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Classes/Utility/FLEXUtility.m

+ 1 - 1
Classes/Utility/FLEXUtility.m

@@ -136,7 +136,7 @@
                                 @"«" : @"«",
                                 @"»" : @"»"
                                 };
-        regex = [NSRegularExpression regularExpressionWithPattern:@"(&|>|<|'|\"|«|»)" options:0 error:nil];
+        regex = [NSRegularExpression regularExpressionWithPattern:@"(&|>|<|'|\"|«|»)" options:0 error:NULL];
     });
     
     NSMutableString *mutableString = [originalString mutableCopy];