note 90915 rejected from function.eregi by danbrown

From: Date: Sat, 16 May 2009 14:49:38 +0000
Subject: note 90915 rejected from function.eregi by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154665@lists.php.net to get a copy of this message
Note Submitter: nicolas dot ramz at gmail dot com ---- I'm not sure if it is supposed to be mentionned here, but the French documentation is inacurate and this can lead to misunderstanding of this function.. $regs[0] will contain a copy of the complete string matched. is translated as $regs[0] contiendra une copie complète de la chaîne. So this lacks the "matched" word. So I thought $regs[0] contained the original string, and not the matched one... More accurate translation would be: $regs[0] contiendra une copie complète de la chaîne matchée.

« previous php.notes (#154665) next »