Boost logo

Boost Users :

From: Keith MacDonald (boost_at_[hidden])
Date: 2004-03-05 12:31:33


The following useful Perl expressions seem to have been omitted from
regex_format:

  \l lowercase next char
  \u uppercase next char
  \L lowercase till \E
  \U uppercase till \E
  \E end case modification

Was there a good reason for that?

The only way I can see to implement those expressions is to take a copy of
regex_format.hpp, then hack _reg_format_aux. I think that it would also be
necessary to change the undocumented regex_traits class, to do upper case
conversion, as it only seems to do lower casing at present. Is there an
easier way?

Thanks,
Keith MacDonald


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