Fix stub regex