Perl syntax highlighter minor problem

Reply

Join Date: Mar 2006
Posts: 898
Reputation: KevinADC has a spectacular aura about KevinADC has a spectacular aura about 
Solved Threads: 67
KevinADC's Avatar
KevinADC KevinADC is offline Offline
Practically a Posting Shark

Perl syntax highlighter minor problem

 
0
  #1
Sep 4th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,057
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 130
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: Perl syntax highlighter minor problem

 
0
  #2
Sep 4th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the DaniWeb Community Feedback Forum


Views: 983 | Replies: 1
Thread Tools Search this Thread



Tag cloud for DaniWeb Community Feedback
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC