Perchè il test dà esito negaivo?codice:$rule = "/20.*fiamma.*-20.*\/a\/b\/c/"; $text = " 20 fiamma on line -20 vuota vuota /a/b/c "; if (!preg_match($rule, $text)) { trigger_error('Il test ha dato esito negativo'); }
Perchè il test dà esito negaivo?codice:$rule = "/20.*fiamma.*-20.*\/a\/b\/c/"; $text = " 20 fiamma on line -20 vuota vuota /a/b/c "; if (!preg_match($rule, $text)) { trigger_error('Il test ha dato esito negativo'); }