diff --git a/Easydict/Feature/Utility/EZCategory/NSString/NSString+EZHandleInputText.m b/Easydict/Feature/Utility/EZCategory/NSString/NSString+EZHandleInputText.m index db46b33bb..c8dbeea55 100644 --- a/Easydict/Feature/Utility/EZCategory/NSString/NSString+EZHandleInputText.m +++ b/Easydict/Feature/Utility/EZCategory/NSString/NSString+EZHandleInputText.m @@ -11,7 +11,7 @@ #import "NSString+EZSplit.h" #import "EZAppleService.h" -static NSString *const kCommentSymbolPrefixPattern = @"^\\s*(//|#|\\*)"; +static NSString *const kCommentSymbolPrefixPattern = @"^\\s*(//+|#+|\\*+)"; @implementation NSString (EZHandleInputText)