|
Boost Users : |
From: paul.floyd (paul.floyd_at_[hidden])
Date: 2006-04-04 09:42:34
> admin_at_[hidden] wrote :
>
> > When I use this regular expression:
> >
> > ^(*.)a(*.)
[snip]
> > 1==>M
> > 2==>nagement
>
> This is what you get if you use (.*?) (ungreedy)
Or alternatively (and more portable to different regex engines
which may not have non-greedy options):
^([^a]*)a(.*)
A+
Paul
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