Fully functional itags regexes (so far, A is only used -- need to find a test case for B)