Matching Multiline Patterns
I want to use greasemonkey to scrape wiki data from Last.fm (this is not possible with their REST api). I can grab the page fine with GM_xmlhttpRequest(), and it is returning prope
Solution 1:
The dot doesn't match newlines in javascript -- a quirk of js's regex flavor.
[^]
should work instead (e.g. "Everything except absolutely nothing")
Post a Comment for "Matching Multiline Patterns"