Author: fabien
Date: 2010-03-24 08:03:40 +0100 (Wed, 24 Mar 2010)
New Revision: 28749

Modified:
   doc/branches/1.4/jobeet/en/08.markdown
   doc/branches/1.4/jobeet/es/08.markdown
   doc/branches/1.4/jobeet/fr/08.markdown
   doc/branches/1.4/jobeet/it/08.markdown
   doc/branches/1.4/jobeet/ja/08.markdown
   doc/branches/1.4/jobeet/ru/08.markdown
Log:
[doc] changed regex delimiter in examples to avoid conflict with index notation

Modified: doc/branches/1.4/jobeet/en/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/en/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/en/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -358,7 +358,7 @@
 >     static public function slugify($text)
 >     {
 >       // replace non letter or digits by -
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // trim
 >       $text = trim($text, '-');
@@ -373,7 +373,7 @@
 >       $text = strtolower($text);
 >
 >       // remove unwanted characters
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

Modified: doc/branches/1.4/jobeet/es/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/es/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/es/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -265,7 +265,7 @@
 >     static public function slugify($text)
 >     {
 >       // replace non letter or digits by -
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // trim
 >       $text = trim($text, '-');
@@ -280,7 +280,7 @@
 >       $text = strtolower($text);
 >
 >       // remove unwanted characters
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

Modified: doc/branches/1.4/jobeet/fr/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/fr/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/fr/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -358,7 +358,7 @@
 >     static public function slugify($text)
 >     {
 >       // replace non letter or digits by -
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // trim
 >       $text = trim($text, '-');
@@ -373,7 +373,7 @@
 >       $text = strtolower($text);
 >
 >       // remove unwanted characters
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

Modified: doc/branches/1.4/jobeet/it/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/it/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/it/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -358,7 +358,7 @@
 >     static public function slugify($text)
 >     {
 >       // sostituisce tutto ciò che non sia una lettera o un numero con -
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // toglie gli spazi
 >       $text = trim($text, '-');
@@ -373,7 +373,7 @@
 >       $text = strtolower($text);
 >
 >       // toglie i caratteri indesiderati
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

Modified: doc/branches/1.4/jobeet/ja/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/ja/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/ja/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -262,7 +262,7 @@
 >     static public function slugify($text)
 >     {
 >       // 文字ではないもしくは数値を - に置き換える
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // トリムする
 >       $text = trim($text, '-');
@@ -277,7 +277,7 @@
 >       $text = strtolower($text);
 >
 >       // 望まない文字を取り除く
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

Modified: doc/branches/1.4/jobeet/ru/08.markdown
===================================================================
--- doc/branches/1.4/jobeet/ru/08.markdown      2010-03-24 05:48:29 UTC (rev 
28748)
+++ doc/branches/1.4/jobeet/ru/08.markdown      2010-03-24 07:03:40 UTC (rev 
28749)
@@ -358,7 +358,7 @@
 >     static public function slugify($text)
 >     {
 >       // replace non letter or digits by -
->       $text = preg_replace('~[^\\pL\d]+~u', '-', $text);
+>       $text = preg_replace('#[^\\pL\d]+#u', '-', $text);
 >
 >       // trim
 >       $text = trim($text, '-');
@@ -373,7 +373,7 @@
 >       $text = strtolower($text);
 >
 >       // remove unwanted characters
->       $text = preg_replace('~[^-\w]+~', '', $text);
+>       $text = preg_replace('#[^-\w]+#', '', $text);
 >
 >       if (empty($text))
 >       {

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to