On Thu, 2007-10-04 at 10:58 -0500, Robert Dailey wrote: > It should also match: > > @param[out] state Some description of this variable > > > On 10/4/07, Robert Dailey <[EMAIL PROTECTED]> wrote: > Hi, > > The following regex (Not including the end quotes): > > "@param\[in|out\] \w+ " > > Should match any of the following: > > @param[in] variable > @param[out] state > @param[in] foo > @param[out] bar > > > Correct? (Note the trailing whitespace in the regex as well as > in the examples) > > -- > http://mail.python.org/mailman/listinfo/python-list
try @param\[(in|out)\] \w+ -- http://mail.python.org/mailman/listinfo/python-list