in reply to Re^4: RegEx - match pattern not followed by literal
in thread RegEx - match pattern not followed by literal
You guys are making this a little more complicated than it needs to be. I think that /(?!.*,v$)$users_regex/ will suffice. As has already been said, though, the OP's first solution is probably cleanest.