William James
2/20/2006 5:13:00 PM
Christian Neukirchen wrote:
> "William James" <w_a_x_man@yahoo.com> writes:
>
> > class String
> > def xtag(s)
> > scan( %r! ( < #{s} [^>]* > ) ( .*? ) </ #{s} > !mx )
> > end
> > end
> >
> > gets(nil).xtag("biblioentry").each { |tag,data|
> > if data.xtag("pubdate")[0][1] > "1984"
> > print tag, data, "\n"
> > end
> > }
>
> I hope you are joking...
I hope you're joking.