in reply to Re^2: coloring patterns of an array
in thread coloring patterns of an array
$ perl -le ' -> $str = q{sfSSSfsdSSSSSseSShySSSScvbcv}; -> print $str; -> $str =~ s{(S{3,})}{<tag>$1</tag>}g; -> print $str;' sfSSSfsdSSSSSseSShySSSScvbcv sf<tag>SSS</tag>fsd<tag>SSSSS</tag>seSShy<tag>SSSS</tag>cvbcv $
To look at previous nodes you have written go to your home node (you will see a "Tony1" link at the top of each page in the Monastery) and on that page you will see a link with the label "Writeups" next to it; click that and you will see all of your previous nodes.
I hope this helps you.
Cheers,
JohnGG
Update: Fixed typos.
|
|---|