Update on regexp

At this moment, the regexp does not match layout, there is a line break after </td>
Excuse me, the problem is Windows specific
On Jun 26, 2014 12:58 AM, "Paul Hutchinson" <notifications@github.com>
wrote:

> In main.php:
>
> > @@ -234,7 +234,7 @@ function downloadFile($url = false, $target = false, $text = false, $completed =
> >
> >  				// Now look for our links
> >  				$matches = array();
> > -				$preg = preg_match_all('/<a href="http:\/\/www.newgrounds.com\/audio\/listen\/(\d*)">([^<]*)<\/a><\/td><td>([^<]*)/', $section, $matches);
> > +				$preg = preg_match_all('/<a href="http:\/\/www.newgrounds.com\/audio\/listen\/(\d*)">([^<]*)<\/a><\/td>' . "\n" . '<td>([^<]*)/', $section, $matches);
>
> I think ideally we which strip out all whitespace then do the regex or new
> an XML/DOM parse to navigate the tree instead.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GingerPaul55/newgrounds-audio-fetcher/pull/4/files#r14214999>
> .
>