Hi,

with Revision 1276619 I applied a patch from T.C. Hollingsworth to generator 
script to replace local links with links to d.k.o

The expression we use is:

 sed -r -i "s|help:/*((kioslave/\|kcontrol/)?[A-Za-
z]+)/*|/?branch=$branch\&language=$lang\&application=\1\&path=|g" 
*.html

But that does not work properly with underscores in names, e.g 
"help:/akonadi_sendlater_agent"
is replaced with
https://docs.kde.org/?branch=stable&language=en&application=akonadi&path=_sendlater_agent
but it should be
https://docs.kde.org/?branch=stable&language=en&application=akonadi_sendlater_agent

Anyone knows a solution, my regxexpr fu is really limited?

Thanks.

-- 
Burkhard L?ck

Reply via email to