Boost logo

Boost Users :

From: Chandan Nilange (chandan_nilange_at_[hidden])
Date: 2007-07-06 08:34:20


Hello John,

Thanks John, I think, I can now use boost regex_search
for verification. ( of a regex engine built in
hardware)

Also Sorry to bother you, the compilation error were
due to, not including boost_regex library during
compilation.

Regards,
Chandan.
--- John Maddock <john_at_[hidden]> wrote:

> >> undefined reference to
> `boost::reg_expression<char,
> > boost::regex_traits<char>, std::allocator<char>
> >>>> get_traits() const'
> >
> > Please help.
>
> Those are link time messages, and crucially you've
> omitted the actual error!
>
> You do sometimes get *warnings* like that if your
> binutils and gcc packages
> are differing in versions.
>
> > Also, could you please elaborate more on how to
> > achieve overlapping matches using regex_search.
>
> i,j; // iterators to search through
> smatch what;
> regex re("something");
>
> while(regex_search(i, j, what, re) && (i != j))
> {
> do_something(what);
> ++i;
> }
>
> John.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news


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