@@ 470-473 (lines=4) @@ | ||
467 | ||
468 | // catenate the non-empty matches from the conditional subpattern |
|
469 | ||
470 | while (list($key, $val) = each($links[2])) { |
|
471 | if (!empty($val)) |
|
472 | $match[] = $val; |
|
473 | } |
|
474 | ||
475 | while (list($key, $val) = each($links[3])) { |
|
476 | if (!empty($val)) |
|
@@ 475-478 (lines=4) @@ | ||
472 | $match[] = $val; |
|
473 | } |
|
474 | ||
475 | while (list($key, $val) = each($links[3])) { |
|
476 | if (!empty($val)) |
|
477 | $match[] = $val; |
|
478 | } |
|
479 | ||
480 | // return the links |
|
481 | return $match; |