Changeset 3681
- Timestamp:
- 07/02/07 07:28:57 (1 year ago)
- Files:
-
- trunk/Additions/NSAttributedStringMoreAdditions.m (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Additions/NSAttributedStringMoreAdditions.m
r3583 r3681 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];
