944,030 Members | Top Members by Rank

Ad:
Sep 4th, 2006
0

Perl syntax highlighter minor problem

Expand Post »
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.
Last edited by KevinADC; Sep 4th, 2006 at 3:43 am.
Similar Threads
Reputation Points: 246
Solved Threads: 67
Practically a Posting Shark
KevinADC is offline Offline
898 posts
since Mar 2006
Sep 4th, 2006
0

Re: Perl syntax highlighter minor problem

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.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 162
The Queen of DaniWeb
cscgal is offline Offline
13,645 posts
since Feb 2002

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in DaniWeb Community Feedback Forum Timeline: Hey Guys
Next Thread in DaniWeb Community Feedback Forum Timeline: huge problems when posting with opera browser





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC