Skip to content
Browse files

Merge pull request #58 from kungfumike/master

Twitter actually shows a mention if it is preceded with any mixed
  • Loading branch information...
2 parents 0ad34dc + ef0a131 commit 4dee4accb60c1e40339b748af5b43f5dc40ee25e @jakl jakl committed Sep 16, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 extract.yml
View
12 extract.yml
@@ -52,6 +52,18 @@ tests:
text: "RT@username RT:@mention RT @test"
expected: ["username", "mention", "test"]
+ - description: "Extract mentions after 'rt'"
+ text: "rt@username rt:@mention rt @test"
+ expected: ["username", "mention", "test"]
+
+ - description: "Extract mentions after 'Rt'"
+ text: "Rt@username Rt:@mention Rt @test"
+ expected: ["username", "mention", "test"]
+
+ - description: "Extract mentions after 'rT'"
+ text: "rT@username rT:@mention rT @test"
+ expected: ["username", "mention", "test"]
+
- description: "DO NOT extract username preceded by !"
text: "f!@kn"
expected: []

0 comments on commit 4dee4ac

Please sign in to comment.
Something went wrong with that request. Please try again.