I get the same output when running this, it matches only one of the iterations then just blanks afterwards. I'm starting to see the code within the compactness, much more effecient than what I blew up :). I'm wondering if somehow the substr is changing the key and causing the iterations to fail? Again, I'm very very new to this. Thanks!
OUTPUT
10.10.10.1 mapped to 000b462d2846 for company
10.10.10.2 mapped to 00132004acde for company Intel Corporate
10.10.10.3 mapped to 08004ec894ac for company
INPUT
Internet 10.10.10.1 - 000b.462d.2846 ARPA FastEthernet0
Internet 10.10.10.2 1 0013.2004.acde ARPA FastEthernet0
Internet 10.10.10.3 7 0800.4ec8.94ac ARPA FastEthernet0
In reply to Re^2: Regex matching part of one hash key to another
by KevinNC
in thread Regex matching part of one hash key to another
by KevinNC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |