| | |
Perl syntax highlighter minor problem
![]() |
in the code snippets perl syntax highlighter, this regexp:
the first 's' after the '=~' operator is correctly linked to the perldoc page concerning the 's' function, the second 's' however is also linked to the same page, which is not correct since it is the meta character for a white space.
Also, the links should probably really go to:
http://perldoc.perl.org/
and not:
http://www.perldoc.com/
perldoc.com never seems to be online anymore.
This is of course nothing very important, just thought I would bring it to your attention.
$string =~ s/^\s+//;
the first 's' after the '=~' operator is correctly linked to the perldoc page concerning the 's' function, the second 's' however is also linked to the same page, which is not correct since it is the meta character for a white space.
Also, the links should probably really go to:
http://perldoc.perl.org/
and not:
http://www.perldoc.com/
perldoc.com never seems to be online anymore.
This is of course nothing very important, just thought I would bring it to your attention.
Last edited by KevinADC; Sep 4th, 2006 at 3:43 am.
Thank you. Will add it to my list of things to look into. However, I did not write the syntax highlighter. I'm using an existing open source class.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
![]() |
Similar Threads
- Problem with Perl syntax highlighter (DaniWeb Community Feedback)
Other Threads in the DaniWeb Community Feedback Forum
- Previous Thread: Hey Guys
- Next Thread: huge problems when posting with opera browser
Views: 983 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for DaniWeb Community Feedback
+ abuse beginners bookmark bored box bug bugs calamity code codebox codesnippets codetags code_snippet comments complaining cpuintensive daniweb design editcodesnippet end-of-the-world favouriteforums feedback ff3 flamewar git glitch ie6 itsatag! kids layout login lulz miserable negative newfeature pm poll post preview privatemessaging problem profanitytest profile quality quick rash-bot rashakil-fol reply reputation reputation-power sandwich score search snippet so-what socialgroups solvedthreads spam sub-forum suggestion tagcloud tagging tags theactualrulerofthetag-cloud:3 therulerofthetag-cloud:[ thread threadtagging today's-posts unansweredposts upgrade user voting whining who-cares yada-yada






