Hello Serguei, Lyndon, Guarav,
Thank you very much to all for your answers. I didn't find a solution
directly from a single answer, but all together helped me getting resolved
the problem. I'll document it as soon as I have time and let you know about
it. Now, just some comments to your answers:
You're supposed to use the \1 format to match a current match,
like a duplicated word
$ echo her here hear hear hop hip hip ho! | perl \
-pe 's/(\w+)\s+\1\s+/double ${1}s /g;'
Barry B wrote:
I am confused about this. I thought that a back-reference looks like
$1, not \1. Is there a
Sorry, I really don't do the concept justice - a more comprehensive answer
is to say - if you want help w/ REs, get Mastering Regular Expressions
by J. Friedl
http://oreilly.com/catalog/9780596528126/
It's it a great, great book, up there w/ the Camel and Perl Best
Practices. It covers more
Hello! I am getting the following error when I use the perlapp for 8.0.
This application has failed to start because perl58.dll was not found.
Re-installing the application may fix this problem.. This is what I
see in dos when I run the perlapp command.
test.pl
PerlApp 8.0.1