title: Emoji NSTextStorage
body: <p>I'm currently working on a custom NSTextStorage on iOS, I require to detect some hashtags (#), mentions and urls... All work fine at this point, but if user tries to input a emoji char from keyboard isn't displayed, because I'm using Helvetica font.</p>
  
  <p>I'm using a regular expresión to detect hashtags, mentions and urls in this way:</p>
  
  <pre><code>NSRegularExpression *iExpression = [NSRegularExpression regularExpressionWithPattern:pattern
                                                                               options:0
                                                                                 error:NULL];
  
  NSRange paragraphRange = [self.string paragraphRangeForRange: self.editedRange];        
  
  [iExpression enumerateMatchesInString:self.string
                                options:0
                                  range:paragraphRange
                             usingBlock:^(NSTextCheckingResult *result, NSMatchingFlags flags, BOOL *stop)
  {
      // Changing format of match
  }
  </code></pre>
  
  <p>Where <code>pattern</code> is a valid regex pattern to find hashtags, urls or mentions.</p>
  
  <p>Are there some pattern to detect emoji chars? what pattern should I use, I had tried this (and many others) <code>[^\\x{1F601}-\\x{1F64F}\r\n]</code>without success.</p>
  
  <p>Thanks.</p>