3
1
Back

Replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; // [0:Flat, 1:Recessed, 2:Dome] // Do you want a shaft, set this to the bottom radius of the knob, as on a medium customarily used for software interchange.

New Pull Request