Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • 43
    I was about to give a +1, but then I realised that solution depends from ruby... :( Commented Dec 1, 2012 at 10:52
  • 4
    You could modify it to not use ruby pretty easily since I just use ruby for the string substitution. You could use perl, sed, python, etc Commented Dec 18, 2012 at 3:51
  • 24
    doesn't work for me: -e:1:in `<main>': invalid byte sequence in UTF-8 (ArgumentError) Commented Jan 12, 2014 at 19:51
  • 1
    /^.*\((.*?)\s[\d]{4}/ should be /^.*?\((.*?)\s[\d]{4}/ to prevent matching parentheses in the source as an author. Commented May 9, 2015 at 22:46
  • 1
    mmm my executions showed lots of user that don't even exists, due to bad parsing. I think it isn't a reliable answer. Commented Jan 3, 2017 at 19:51