Link to home
Start Free TrialLog in
Avatar of Janak__Porwal
Janak__PorwalFlag for India

asked on

TWiki/Wiki - use of special character in page name - regex error.

Hi,
  I had created a page on internal Wiki of our organization. The page name was RnDC++.  This worked fine in Wiki. Then, the Wiki was migrated to TWiki. Now, on trying to access the page in TWiki, I get an error:

Nested quantifiers in regex; marked by <-- HERE in m//Dir/RnDC++ <-- HERE $/ at (eval 7) line 7.

Basically, the ++ characters are being treated as regular expression. How do I retrieve/acess this page? I even tried backslashing the + (\+) in the url but it doesnt work.

Regards,
Janak
SOLUTION
Avatar of moorhouselondon
moorhouselondon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Janak__Porwal

ASKER

Dear friends,
  Thanks for the comment. I was indeed looking for something like this. However, replacing the + by &amp;#43;  (or &#43;) does not work. The special character is not recognised and browser tries to find just RnDC
  Any futher suggestions? I just want to retrieve the contents of the page once and them will move/copy to different page name,

Thanks!
Janak
What does you URL currently looks like?
Its an internal URL. Its form is:

http://abc.xyz.com/bin/view/MainTool/RnDC++

I tried the putting the following URLs:

1) http://abc.xyz.com/bin/view/MainTool/RnDC&#43;&#43;

2) http://abc.xyz.com/bin/view/MainTool/RnDC++

3) http://abc.xyz.com/bin/view/MainTool/RnDC++

but they did not work.

1) was interpreted as RnDCamp
while
2/3) were interpreted as RnDC

Thanks
Janak
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The ; is used to "close" the  &amp  sequence:

So  

   RnDC++   === replace + by &#34  ====>  RnDC&#34&#34   ===== replace & by &amp; ===>  RnDC&amp;#34&amp;#34
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanx 4 axxepting