That is good info and really helps, the only remaining problem is that the following regex still succeeds in matching 'A' in the example data I provided.
Is there any way to pull it off where the whole regex fails that I am missing?\G ^(?:int)\s+(\w+)\s*?\n (?:\s*Number\sof\sFlaps:\s(\d+)\s*?\n)? (?:\s*IP\sAddress:?\s([\d\.]+)\s*?\n)? (?=^int|\Z)
In reply to Re^2: Making regex /g match continuously
by scottb
in thread Making regex /g match continuously
by scottb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |