RegEx question

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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list