MITCH, HELP!!
We need a better rainbowFile tagging and sorting systemFile uploading, should integrate with the tagging systemWe need more people on IRC! :)Help Rachel stalk Steve YeggeLearn PHP with my tutorial! :ZOld Stuff...<rachelBROWN> what's the best way to match a colon at the beginning of a line and replace it with four spaces, multiple times
<rachelBROWN> like : becomes 4, :: becomes 8, etc
<Leica> possibly,
<Leica> while(preg_match('/^ *:+/m',$str)){
<Leica> $str=preg_replace('/(^ *):/m','\1 ',$str);
<Leica> }
ohay, leica here again.
i think this:
$str=preg_replace('/(^ *):/m','\1 ',$str);
should probably be this:
$str=preg_replace('/^( *):/m','\1 ',$str);