We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2f3f18 + e5a4674 commit b6103f2Copy full SHA for b6103f2
2 files changed
lib/Twitter/Text/Extractor.php
@@ -92,6 +92,7 @@ public function extract($tweet)
92
{
93
return array(
94
'hashtags' => $this->extractHashtags($tweet),
95
+ 'cashtags' => $this->extractCashtags($tweet),
96
'urls' => $this->extractURLs($tweet),
97
'mentions' => $this->extractMentionedScreennames($tweet),
98
'replyto' => $this->extractReplyScreenname($tweet),
tests/Twitter/Text/ExtractorTest.php
@@ -157,6 +157,11 @@ public function testExtract()
157
'hashtags' => array(
158
'hashtag1'
159
),
160
+ 'cashtags' => array(
161
+ 'TEST',
162
+ 'Stock',
163
+ 'symbol'
164
+ ),
165
'urls' => array(
166
'http://example.com'
167
0 commit comments