Thanks "Mr. Shawn H. Corey" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:
> How would it parse "XMLSchema" ? You need to write down the rules > before you try creating than regex for them. Try: > Ok - I am a typical customer - my stated requirement isn't quite my real requirement :-) In my defence I was solving a one off problem and this case didn't come up. I agree that looking at the definition of a _word_ is better than looking at what divides words. "Dr.Ruud" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > s/(?<=[a-z])(?=[A-Z])/ /g This one most closely meets my stated requirements. I was trying to avoid repeating "$1 $2" in the replacesment hence why I prefered a lookahead/ behind Thanks John and Rob for other suggestions. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/