[Phpmyadmin-devel] regexp question

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Sat Mar 18 02:48:06 CET 2006


Hi,
in this line:
$is_gotofile     = preg_replace('@^([^?]+).*$@', '\\1', $goto);

does the character class [^?] mean "a character different than the question mark" ?

What's the goal of this line?

Marc





More information about the Developers mailing list