Entering this code makes it echo if a / < or > is added.
if (ereg("[/<>]+") echo "Bad";
When I change it to:
if (ereg("[\\/<>]+") echo "Bad";
It errors if I use the previous characters AND \ ' ". I know it should detect the backslash because I escaped it, but why is it detecting the apostrophes and quotes?