PITS /
00306: underscores are treated as word separators
Summary: underscores are treated as word separators
Created: 2005-01-31 03:48
Status: Closed - not a bug
Category: Bug
From: Profiles
Assigned:
Priority: 5
Version:
OS:
Description: pmwiki seems to be treating underscores as word separators, and I don't know why.
e.g. we have the word DBSVR1_RS, which is showing as a link to DBSVR1. Ack :/
In reviewing this, apparently PmWiki has never allowed underscores as parts of PmWiki/WikiWords. An admin can change this behavior by changing the value of $WikiWordPattern
with
$WikiWordPattern = '[[:upper:]][[:alnum:]]*(?:[[:upper:]][[:lower:]0-9]|[[:lower:]0-9][[:upper:]]|\\w_)[[:alnum:]]*';
--Pm