aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMRegex.h
diff options
context:
space:
mode:
authorGravatar dmaclach <dmaclach@gmail.com>2018-11-11 10:46:22 -0800
committerGravatar GitHub <noreply@github.com>2018-11-11 10:46:22 -0800
commitfb4035f4403005ad400e98a0f1f6f527a26a1658 (patch)
tree621e6eb788574743ea1759b9d63aa4eae186657b /Foundation/GTMRegex.h
parent1507eb202cf007c7788d220a1f319d88b8709d6b (diff)
Deprecate GTMRegex. Use NSRegularExpression instead. (#184)
Diffstat (limited to 'Foundation/GTMRegex.h')
-rw-r--r--Foundation/GTMRegex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Foundation/GTMRegex.h b/Foundation/GTMRegex.h
index 03f7ae5..1108041 100644
--- a/Foundation/GTMRegex.h
+++ b/Foundation/GTMRegex.h
@@ -117,6 +117,9 @@ _EXTERN NSString* kGTMRegexPatternErrorErrorString _INITIALIZE_AS(@"patternError
// withReplacement:@"<i>\\1</i><b>\\2</b>"];
// ....
//
+
+// Use NSRegularExpression instead
+NS_DEPRECATED(10_0, 10_7, 1_0, 4_0)
@interface GTMRegex : NSObject {
@private
NSString *pattern_;