Created
December 27, 2010 15:59
-
-
Save tamoot/756240 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: blackbird-pie.rb | |
=================================================================== | |
--- blackbird-pie.rb (revision 38743) | |
+++ blackbird-pie.rb (working copy) | |
@@ -30,7 +30,7 @@ | |
def blackbird_pie( src ) | |
- if %r|http://twitter.com/[^/]{1,15}/status(?:es)?/([0-9]+)| =~ src.to_s.downcase | |
+ if %r|http://twitter.com/(?:#!/)?[^/]{1,15}/status(?:es)?/([0-9]+)| =~ src.to_s.downcase | |
src = $1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment