I'm trying to use Brad Choate's regex plugin to make grammatically correct comments. This is the code I'm looking to use:

CODE
<MTAddRegex name="reply_count">s/(\d+)/$1==0?'There are no comments for this topic.':$1==1?'There is 1 comment for this topic':$1.' replies'/e</MTAddRegex>


But I'm trying to make it say "There are 2, [or 3, 4, 5, etc.] comments for this topic." I think it relies on the last line ( $1.' replies'/e ) but I'm not sure how to modify it.

Does anyone know the correct format?

Thanks in advance!

-jason o'brien