|
Boost Users : |
From: John Maddock (john_maddock_at_[hidden])
Date: 2003-04-29 06:53:36
> How about: (\w+)(?:\s+$1)+
Which should of course have been: (\w+)(?:\s+\1)+
or "(\\w+)(?:\\s+\\1)+" if it's embedded in your program as a C string.
John.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net