Changeset 24284
- Timestamp:
- 07/09/2008 01:06:51 PM (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/AutoHyperlinks Framework/Source/AHHyperlinkScanner.m
r24283 r24284 124 124 NSMutableCharacterSet *mutableStartSet = [[NSMutableCharacterSet alloc] init]; 125 125 [mutableStartSet formUnionWithCharacterSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; 126 [mutableStartSet formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@"\"',:;<.?!- "]];126 [mutableStartSet formUnionWithCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@"\"',:;<.?!-@"]]; 127 127 startSet = [[NSCharacterSet characterSetWithBitmapRepresentation:[mutableStartSet bitmapRepresentation]] retain]; 128 128 [mutableStartSet release]; trunk/Frameworks/AutoHyperlinks Framework/UnitTests/HyperlinkContextTest.m
r24146 r24284 206 206 [self testLaxContext:@"<><><><><<<<><><><><%@><><><><><><<<><><><><><>" withURI:@"example.com"]; 207 207 [self testLaxContext:@"l<><><><><<<<><><><><%@><><><><><><<<><><><><><>" withURI:@"http://example.com/foo_(bar)"]; 208 209 [self testLaxContext:@"@example.com" withURI:@"example.com"]; 208 210 } 209 211 @end