Changeset 384
- Timestamp:
- 02/11/08 06:55:16 (17 years ago)
- Location:
- trunk/ICeCoffEE/ICeCoffEE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ICeCoffEE/ICeCoffEE/ICeCoffEEParser.m
r383 r384 26 26 27 27 tmpSet = [[set mutableCopy] autorelease]; 28 [tmpSet formUnionWithCharacterSet: [NSCharacterSet characterSetWithCharactersInString: @" ><(["]];28 [tmpSet formUnionWithCharacterSet: [NSCharacterSet characterSetWithCharactersInString: @"<(["]]; 29 29 urlLeftDelimiters = [tmpSet copy]; // make immutable again - for efficiency 30 30 31 31 tmpSet = [[set mutableCopy] autorelease]; 32 [tmpSet formUnionWithCharacterSet: [NSCharacterSet characterSetWithCharactersInString: @"> <)]"]];32 [tmpSet formUnionWithCharacterSet: [NSCharacterSet characterSetWithCharactersInString: @">)]"]]; 33 33 urlRightDelimiters = [tmpSet copy]; // make immutable again - for efficiency 34 34 } … … 230 230 [s rangeOfString: @"]"].location - range.location))) 231 231 || !ICCF_IsLikelyURI(s, range))) { 232 ICLog(@"expanding past %c, was |%@|", opening, [s substringWithRange: range]);233 ICLog(@"remaining: |%@|", [s substringWithRange: NSMakeRange(range.location, [s rangeOfString: [NSString stringWithCharacters: &closing length: 1]].location - range.location)]);234 232 range.location -= 2; 235 233 range.length += 2; -
trunk/ICeCoffEE/ICeCoffEE/urls.plist
r382 r384 89 89 text = "|<http://en.wikipedia.org/wiki/Paprika_(2006_film)>|foo"; 90 90 }, 91 92 { 93 uri = "http://en.wikipedia.org/wiki/Paprika_(2006_film)"; 94 text = " |<http://en.wikipedia.org/wiki/Paprika_(2006_film)^>^| 95 "; 96 }, 91 97 ) 92 98
Note:
See TracChangeset
for help on using the changeset viewer.