I have $crawler->addNonFollowMatch("/.(jpg|gif|png|css|ico|com|js|jspa|swf)$/ i"); which works great.
How would I also add pages with 'print-view' into that regex?
this is great - thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have $crawler->addNonFollowMatch("/.(jpg|gif|png|css|ico|com|js|jspa|swf)$/ i"); which works great.
How would I also add pages with 'print-view' into that regex?
this is great - thanks!
this seems to work - jusy add another grouped or
$crawler->addNonFollowMatch("/(?:jpg|gif|png|css|ico|com|js|jspa|swf)| (print-view) / i")
Hi,
you also may call addNonFollowMatch more than one time,
so this shpould also work:
Maybe a little more "straight".
Thanks