mirror of
https://github.com/tappollo/Xcode-Quick-Localization.git
synced 2026-04-29 02:55:38 +08:00
fix #11
This commit is contained in:
@@ -17,8 +17,8 @@ static NSString *localizeRegexs[] = {
|
|||||||
@"NSLocalizedStringWithDefaultValue\\s*\\(\\s*@\"(.*)\"\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*\\)"
|
@"NSLocalizedStringWithDefaultValue\\s*\\(\\s*@\"(.*)\"\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*,\\s*(.*)\\s*\\)"
|
||||||
};
|
};
|
||||||
|
|
||||||
static NSString *objcStringRegexs = @"@\"[^\"]*\"";
|
static NSString *objcStringRegexs = @"@([\"'])(?:(?=(\\\\?))\\2.)*?\\1";
|
||||||
static NSString *swiftStringRegexs = @"\"[^\"]*\"";
|
static NSString *swiftStringRegexs = @"([\"'])(?:(?=(\\\\?))\\2.)*?\\1";
|
||||||
|
|
||||||
static NSString * const QLShouldUseNilForComment = @"QLShouldUseNilForComment";
|
static NSString * const QLShouldUseNilForComment = @"QLShouldUseNilForComment";
|
||||||
static NSString * const QLShouldUseSnippetForComment = @"QLShouldUseSnippetForComment";
|
static NSString * const QLShouldUseSnippetForComment = @"QLShouldUseSnippetForComment";
|
||||||
|
|||||||
Reference in New Issue
Block a user