Unless the g modifier is used, the regex will find only the first match to the pattern and stop. If it were used (you would place it before or after the i modifier above), then the second set of numbers would be referenced by $regml(BF,2).