Thread CMS Tags parsen (29 answers)
Opened by cbxk1xg at 2010-11-26 16:27

pq
 2010-11-27 21:47
#143136 #143136
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
deshalb quick & dirty =)
füg noch ein
Code (perl): (dl )
1
2
3
            if ($text =~ s/^\[//) {
                $out = "[";
            }

vor zeile 23 ein, sonst läufst du in eine endlosschleife.
vielleicht sind auch noch mehr checks notwendig.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread CMS Tags parsen