in reply to Re: Interesting Regex Question
in thread Interesting Regex Question

Lots of good info, but I think you may have confused the original node's example bibtex source as perl code. The piece:

@article{ author = {Author, J.P } , title = "A paper about things" , etc.. }

is bibtex source, and not an attempt by the node creator to make a perl array....

Replies are listed 'Best First'.
Re: Re: Re: Interesting Regex Question
by tachyon (Chancellor) on Jul 02, 2001 at 18:26 UTC

    Thanks for the heads up. As you correctly assume, I've got no idea what bibtex is - strange source though. I've modifie the posted code (second bit that does the string) to handle this assuming you get this entire entity as a single string. Hope that's correct

    tachyon

    s&&rsenoyhcatreve&&&s&n\w+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      For bibtex/latex info, just look here and here.

      Basically, latex is a markup language, a grandchild of SGML so you will and a cousin of HTML. Bibtex is used to describe bibliographic references in separate files, to be included in latex sources.

      Cheers,

      Jeroen
      "We are not alone"(FZ)