Re: special char at pos 0 problem
Brought to you by:
bs_php,
nigelswinson
From: Peter R. <php...@pe...> - 2002-05-17 17:07:53
|
On Friday 17 May 2002 9:03, J. Carmanns wrote: > Found a simple solution: > > Add these special chars to preg_match expression on line 2672: > > Old: > elseif (preg_match('/^[a-zA-Z0-9\-_]+/', $nodeTest)) { > > New: > elseif (preg_match('/^[a-zA-Z0-9\-_ÄÖÜäöü]+/', $nodeTest)) { > > Maybe there are more chars to add? Looks more like a quick fix than a solution - why only German accents and not French or anything else?! raises the question in my mind: why is this limitation on node names in there anyway? Surely there is no such limitation in the xml spec? |