summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/prado_patch_dot_in_package_name.patch
blob: 8fa78de88de0d5cdc8f1cabadf0b25da3947c5f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: phpDocumentor/ParserDocBlock.inc
===================================================================
--- phpDocumentor/ParserDocBlock.inc	(revisione 3068)
+++ phpDocumentor/ParserDocBlock.inc	(copia locale)
@@ -752,7 +752,7 @@
                         $rest = implode($rest,"\t");
                     } else $value = trim($value[0]);
                 }
-                $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+                $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
                 $this->packagedescrip = $this->package = trim($value);
                 if (!empty($rest)) $this->packagedescrip = $rest;
             } else
@@ -789,7 +789,7 @@
                 }
                 if (!empty($value))
                 {
-                    $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+                    $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
                 }
                 $this->subpackage = trim($value);
                 if (!empty($rest)) $this->subpackagedescrip = $rest;
@@ -806,7 +806,7 @@
             {
                 if (!is_string($value))
                 $value = $value->getString();
-                $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\x7f-\xff]/', '-', $value);
+                $value = preg_replace('/[^\[\]0-9\-a-zA-Z_\.\x7f-\xff]/', '-', $value);
                 $this->category = $value;
             } else
             {