Kaynağa Gözat

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

Ryan Olson 12 yıl önce
ebeveyn
işleme
5a34e1eedf
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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];