Do you know where your variables are? | |
PerlMonks |
Re: [Free Nodelet Hack] Highlight monk names accordingly their XP levelby linuxer (Curate) |
on Apr 04, 2009 at 20:17 UTC ( [id://755477]=note: print w/replies, xml ) | Need Help?? |
Hi, I did a minor change to your script. I think the used regex matches too many links. Any link, which includes the proper node_id=\d+ is highlighted (saw this on the home node of a highlighted user). Don't know if this is intentional, or not. As I wanted only to highlight links which direct to home nodes, I tried a fix and changed the regex from /node_id=(\d+)/ to /\?node_id=(\d+)$/:
Maybe it's a fix, maybe not. May it be helpful to others ;)
In Section
Perl Monks Discussion
|
|