Regex Categories 是一款为 NSRegularExpression 和 NSString 采集 objective-c 类别的工具，使他们可用性更高更简洁。
//Using NSRegularExpression NSString* string = @"I have 2 dogs."; NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:@"\\d+" options:NSRegularExpressionCaseInsensitive error:&error]; NSTextCheckingResult *match = [regex firstMatchInString:string options:0 range:NSMakeRange(0, [string length])]; BOOL isMatch = match != nil; // Using this library BOOL isMatch = [@"I have 2 dogs." isMatch:RX(@"\\d+")];
Thanks to cnblog give me the access of uploading pdf. This is a part of lecture notes of the course here. The most resource including is not easy to find in textbooks, so I thin...
Trianglated categories and derived categories are two thing I heard but do not learn for sake of short in motivations. In this semester, I take a course called homological algeb...