[Xitami] Regular Expression escaping?
Marcio Marchini
xitami@lists.xitami.org
Thu, 6 Dec 2001 13:36:33 -0500
I use the stripslashes function in PHP to get the original value back:
function stripFormSlashes() {
global $newQuestion;
...
$newQuestion = stripslashes ($newQuestion);
...
}
But that's a PHP issue, not a Xitami issue. Try www.php.net for that.
marcio
> I want a form that will let me enter Regular Expressions, then
> pass to PHP's egrepi function.
>
> If I enter some thing like "^062\b" when I submit it I end up
> with "^062\\b" (note the double slash).
>
> Can some one tell me who is doing me this favor of escaping
> things for me, and how do I prevent it?