look at these two if statements:
if (!ereg("^[a-zA-Z0-9\.-]", $string)
if (!ereg("^[a-zA-Z0-9-\.]", $string)
All that has changed is the placement of the dash within the range, buit the second expression errors out.
Is this a bug, or can certain special characters only appear in a range listing at the beginning or end?
This isn't a big deal, I'm just curious.
Thanks,
-=Patrick=-