RegEx question

Robert Dailey rcdailey at gmail.com
Thu Oct 4 17:55:32 CEST 2007


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/f0f3ac60/attachment.html>


More information about the Python-list mailing list