File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ @implementation NSString (XcodeBoost)
4646
4747#pragma mark Complex Patterns
4848
49- // Unescaped: ([-\+] ?[a-zA-Z0-9 \(\)_,\*^:\n\s]+)\{(?:.*\n)+?(?:\n?)\}
50- static NSString *s_methodPattern = @" ([-\\ +] ?[a-zA-Z0-9 \\ (\\ )_\\ *^:\\ n\\ s]+)\\ {(?:.*\\ n)+?(?:\\ n?)\\ }" ;
49+ // Unescaped: ([-\+] ?[a-zA-Z0-9 \(\)_,\*^:\n\s\<\> ]+)\{(?:.*\n)+?(?:\n?)\}
50+ static NSString *s_methodPattern = @" ([-\\ +] ?[a-zA-Z0-9 \\ (\\ )_, \\ *^:\\ n\\ s\\ < \\ > ]+)\\ {(?:.*\\ n)+?(?:\\ n?)\\ }" ;
5151
5252// Unescaped: ([a-zA-Z0-9\(\)_,\*^: ]+?[a-zA-Z0-9_]+?\(.*?\))[\s\n]*?\{(?:.*\n)+?(?:\n?)\}
5353static NSString *s_functionPattern = @" ([a-zA-Z0-9\\ (\\ )_,\\ *^: ]+?[a-zA-Z0-9_]+?\\ (.*?\\ ))[\\ s\\ n]*?\\ {(?:.*\\ n)+?(?:\\ n?)\\ }" ;
@@ -314,4 +314,4 @@ - (NSString *)xb_escapeForRegex
314314
315315}
316316
317- @end
317+ @end
You can’t perform that action at this time.
0 commit comments