Thanks to ikegami et al. for setting me on the path of righteousness!
Re pos($text), I'm doing multiple passes through the document, picking out different things on each pass. So, I need to reset the pos before each pass. 3-digit APC codes are just one of the passes.
I am/was extracting "APC" to help debug the perl/regex. In the final version, I just will extract the code/number.
Thanks, again!
Comment on Re^2: regexp match repetition breaks in Perl