29 Apr
2003
29 Apr
'03
2:25 p.m.
Hi John,
I think regexp is excellent, can even write some expressions (!) but this
one has me foxed, however I'll free up a brain cell or three and think it
through.
I'll also have a dig through the doc and see if it will do what I want - I
found (.*)\1 to behave slightly differently to what I expected, but that
could have been me. As this is for Amateur Radio (hobby) software I'll wait
until later this week, got to write some software for blind people tonight.
Simon Brown, Casa Bergenia, CH-7031 Laax
www.hb9drv.ch
----- Original Message -----
From: "John Maddock"
Which should of course have been: (\w+)(?:\s+\1)+
or "(\\w+)(?:\\s+\\1)+" if it's embedded in your program as a C string.