Boost logo

Boost Users :

From: Lynn Allan (l_d_allan_at_[hidden])
Date: 2006-04-12 15:38:45


> repeat<1,3>(_d) will match one digit, or two digits, or three
> digits.
> So, yes, it will match days (which are one or two digits) or months
> (which are one or two digits). However, it is overly permissive,
> because it will also match three digits, which is not a valid day or
> month.

Sorry ... VERY red-face on this regex newbie. You are very gracious.


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