Skip to content

Instantly share code, notes, and snippets.

@tamoot
Created December 27, 2010 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamoot/756240 to your computer and use it in GitHub Desktop.
Save tamoot/756240 to your computer and use it in GitHub Desktop.
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