953,971 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Perl syntax highlighter minor problem

in the code snippets perl syntax highlighter, this regexp:

$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.

KevinADC
Posting Shark
921 posts since Mar 2006
Reputation Points: 246
Solved Threads: 67
 

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.

cscgal
The Queen of DaniWeb
Administrator
19,420 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You