Creating a new regex based on the returned results and rules of a previous regex | Indexing a regex and seeing how the regex has matched a substring Creating a new regex based on the returned results and rules of a previous regex | Indexing a regex and seeing how the regex has matched a substring shell shell