News for hackers. Stuff that matters.
Re:Bootstrap 2.3 Released by phoobahr on Friday February 08, 2013 @01:57AM (#5186660)
sooo... Counter(re.findall(r"[^a-zA-Z]([a-zA-Z]+)[^a-zA-Z]",requests.get("http://blog.getbootstrap.com/2013/02/07/bootstrap-2-3-releas...).content.lower()))

I see one occurrence of 'shit'. I'm not sure how I feel about your pansy ass semi-outrage of someone else's release page language.

Oh, wait. I feel nothing, approximately what this entire conversation thread is worth.

Re:Bootstrap 2.3 Released by blowski on Friday February 08, 2013 @02:44AM (#5186765)
Ctrl + F shows two. Time to update your regex-fu, or use simpler tools.
Re:Bootstrap 2.3 Released by lengads on Friday February 08, 2013 @08:10AM (#5187636)
re.findall() returns all non-overlapping matches. We need to use a positive lookahead on the third part of the pattern to stop it from consuming the non-character:

  re.findall(r"[^a-zA-Z]([a-zA-Z]+)(?=[^a-zA-Z])", ..)
Re:Bootstrap 2.3 Released by instakill on Friday February 08, 2013 @03:18AM (#5186858)
If my comment seemed like a semi-outrage then you sir/madam are a very sensitive person.
Re:Bootstrap 2.3 Released by mjohn on Friday February 08, 2013 @05:04AM (#5187107)
Love the use of Counter & requests, but you get 76 li elements with your regex - one of which contains another occurance.