Having found this out last summer, extracting citations from papers reliably is hard. If you're getting the references direct (no pre-cleaning), then after you solve the semi-colon problem you're likely to find about 1-5% of your citations fail on something else because of how an author has formatted the reference in an intelligible, but machine-confounding, fashion (or mistyped or just missed a bit). You end up with regex after regex, just to catch all the perversities. The ADS project has likely had to solve this problem. You may be able to find some of their utilities on github.

Out of almost 3000 papers, I had to find references for about 50 by hand using the search interface and some intuition. The most innocent unfindable reference was in this paper where A. Einstein, Sit. Preus. Akad. (1919). would have been identifiable if Albert hadn't gone and published 2 papers in that journal that year.

Update: I found it! Six months and no looming deadline has really improved my German.

Sometimes I can think of 6 impossible LDAP attributes before breakfast.

In reply to Re: Regex for splitting a string on a semicolon (conditionally) by Ea
in thread Regex for splitting a string on a semicolon (conditionally) by grouse

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.