http://en.wikibooks.org/wiki/Introducti ... _web_pages
He shows:
Code: Select all
(set 'the-source (get-url "http://www.apple.com"))
(replace {src="(http\S*?jpg)"} the-source (push $1 images-list -1) 0)
(println images-list)
Code: Select all
(set 'the-source (get-url "http://nukene.ws/headlines"))
(replace {<h2>\S*?</h2>} the-source (push $1 images-list -1) 0)
(println images-list)
I am getting
Code: Select all
nil
Ive tried various versions of the above using the \ in front of various character without success.
Would one be so kind as to point me my shortcoming? Much appreciated and thank you a lot! :0)