in reply to Re: revision number
in thread revision number

If all you are trying to do is parse it the same way that ident does, then you don't need to get very fancy, the parser in ident isn't all that intelligent, it just looks for things between the delimiters. I usually just do it from the command line with ack...

ack -o '\$Revision.*?\$'

www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!