fixed a bug in which variadic methods weren't being made due to a bad regexp