Changeset 3682
- Timestamp:
- 07/02/07 07:31:48 (1 year ago)
- Files:
-
- trunk/Additions/NSAttributedStringMoreAdditions.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Additions/NSAttributedStringMoreAdditions.m
r3681 r3682 323 323 324 324 // catch well-formed email addresses like "timothy@hatcher.name" or "timothy@javelin.cc" 325 regex = [AGRegex regexWithPattern:@"[\\p{L}\\p{N}.+ -_]+@(?:[\\p{L}-_]+\\.)+[\\w]{2,}" options:AGRegexCaseInsensitive];325 regex = [AGRegex regexWithPattern:@"[\\p{L}\\p{N}.+\\-_]+@(?:[\\p{L}\\-_]+\\.)+[\\w]{2,}" options:AGRegexCaseInsensitive]; 326 326 matches = [regex findAllInString:[self string]]; 327 327 enumerator = [matches objectEnumerator];
