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:
Wolfgang Sourdeau
2010-01-04 15:59:40 +00:00
parent b8fafe42da
commit 623fbc186f
9 changed files with 25 additions and 92 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
- (NSString *) jsonRepresentation;
- (NSString *) asCSSIdentifier;
- (NSString *) fromCSSIdentifier;
/* bare email addresses */
- (NSString *) pureEMailAddress;
-17
View File
@@ -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;