Anonymous - 2011-01-06

I am helping a friend use Magpie RSS that uses Snoopy 1.0, and while that is going just fine, I was looking at the Snoopy php code and noticed that the _striplinks function around line 273 (line 615 in latest version 1.2.4) seems to have, what were probably intended to be comments, embedded in the first argument (a string) of the preg_match_all() function call. Here is a screenshot of this function (1.2.4 version) as viewed in the Vim editor w/ syntax highlighting turned on:

AFAIK, you can't have comments in the middle of a string in the middle of a function call… can you???