I'm new to this List,
Please be friendly when I violate some rules.

I've been working on a small project where we had to convert the friendly / 
to the stupid ms dos \ thingy.
Initially for an older oro build (I'm not sure which) this worked allthough 
I took the sharp (#) instead of the pipe (|). 
So the expression was something like perl5.substitute("s#/#\\#g", 
someString). After installing a new oro jar, and enjoying the new features 
I found this didn't work anymore, not a very big deal because it's not 
valid in perl56 I found out. So I changed the sharp to the pipe 
having "s|/|\\|g" which should be valid in perl56 but somehow didn't get 
through the parser: it simply didn't match. I changed the escaped backslash 
\\ to a double escaped backslash \\\\ and everything worked fine again.
But this looks like a bug to me, because perl56 does accept "s|/|\|g" am I 
correct? I tried to look it up in the bug parade but I couldn't find 
anything.
regards,
Jeroen Dijkmeijer


Reply via email to