Suppose I have a string containing "ATGTTTGGATTAGGTAATGAAT".
I'd like to search the string for the first instance of either "TAG", "TAA", or "TGA".
To do this, I'd like to use regular expressions. I think std::regex_search will work, but I'm unsure how to write the syntax.
Any help would be greatly appreciated.
EDIT: I need to retrieve the position of the first instance of "TAG", "TAA", or "TGA" (whichever comes first).