git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23519 44c647ce-9c0f-0410-b52a-842ac1e357ba
@@ -22,9 +22,9 @@
</para>
<programlisting language="php"><![CDATA[
-$filter = new Zend_Filter_PregReplace(array('match' => 'bob',
+$filter = new Zend_Filter_PregReplace(array('match' => '/bob/',
'replace' => 'john'));
-$input = 'Hy bob!";
+$input = 'Hy bob!';
$filter->filter($input);
// Gibt 'Hy john!' zurück
@@ -52,9 +52,9 @@
// returns 'Hy john!'