183 |
|
while(1) { |
184 |
|
$name = getPregMatch("$diskRoot.p$i.attributes.name", $input); |
185 |
|
if ($name) { |
186 |
< |
$graph = preg_replace("/\//", "$hex_slash", $name); |
187 |
< |
$graph = preg_replace("/_/", "$hex_underscore", $graph); |
186 |
> |
$graph = preg_replace("/_/", "$hex_underscore", $name); |
187 |
> |
$graph = preg_replace("/\//", "$hex_slash", $graph); |
188 |
|
$graph = preg_replace("/\\\\/", "$hex_bslash", $graph); |
189 |
|
$graph = preg_replace("/ /", "$hex_space", $graph); |
190 |
|
$graph = preg_replace("/:/", "$hex_colon", $graph); |
209 |
|
while(1) { |
210 |
|
$name = getPregMatch("$netRoot.p$i.attributes.name", $input); |
211 |
|
if ($name) { |
212 |
< |
$graph = preg_replace("/\//", "$hex_slash", $name); |
213 |
< |
$graph = preg_replace("/_/", "$hex_underscore", $graph); |
212 |
> |
$graph = preg_replace("/_/", "$hex_underscore", $name); |
213 |
> |
$graph = preg_replace("/\//", "$hex_slash", $graph); |
214 |
|
$graph = preg_replace("/\\\\/", "$hex_bslash", $graph); |
215 |
|
$graph = preg_replace("/ /", "$hex_space", $graph); |
216 |
|
$graph = preg_replace("/:/", "$hex_colon", $graph); |