I'm wondering if the form %r{api/v\d/} would be easier to read here?