RegEx question

Robert Dailey rcdailey at gmail.com
Thu Oct 4 11:58:35 EDT 2007


It should also match:

@param[out] state Some description of this variable


On 10/4/07, Robert Dailey <rcdailey at gmail.com> 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)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071004/4eed5479/attachment.html>


More information about the Python-list mailing list