mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-03 22:22:19 +00:00
reverted previous commit
Monotone-Parent: 2d07c11d93d913a43469f1241e1bd63bece15be7 Monotone-Revision: 85b7e15d67f23e989d9e37bf3c1afb60aa11ddc3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-04T15:59:40 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
- (NSString *) jsonRepresentation;
|
||||
|
||||
- (NSString *) asCSSIdentifier;
|
||||
- (NSString *) fromCSSIdentifier;
|
||||
|
||||
|
||||
/* bare email addresses */
|
||||
- (NSString *) pureEMailAddress;
|
||||
|
||||
@@ -322,23 +322,6 @@ static NSMutableCharacterSet *urlStartChars = nil;
|
||||
return cssIdentifier;
|
||||
}
|
||||
|
||||
- (NSString *) fromCSSIdentifier
|
||||
{
|
||||
NSMutableString *newString;
|
||||
|
||||
newString = [NSMutableString stringWithString: self];
|
||||
[newString replaceString: @"_U_" withString: @"_"];
|
||||
[newString replaceString: @"_D_" withString: @"."];
|
||||
[newString replaceString: @"_H_" withString: @"#"];
|
||||
[newString replaceString: @"_A_" withString: @"@"];
|
||||
[newString replaceString: @"_S_" withString: @"*"];
|
||||
[newString replaceString: @"_C_" withString: @":"];
|
||||
[newString replaceString: @"_CO_" withString: @","];
|
||||
[newString replaceString: @"_SP_" withString: @" "];
|
||||
|
||||
return newString;
|
||||
}
|
||||
|
||||
- (NSString *) pureEMailAddress
|
||||
{
|
||||
NSString *pureAddress;
|
||||
|
||||
Reference in New Issue
Block a user