modifies regex to allow cucumber tables to take in arrays with data models within