| @@ 649-654 (lines=6) @@ | ||
| 646 | while (preg_match('%'.$reg.'%', $string, $m, PREG_OFFSET_CAPTURE, $offset)) |
|
| 647 | { |
|
| 648 | $offset = $m[0][1]+strlen($m[0][0]); |
|
| 649 | if (end($stack)=='/*') { |
|
| 650 | if (!empty($m[3][0])) { |
|
| 651 | array_pop($stack); |
|
| 652 | } |
|
| 653 | continue;//here we could also simplify regexp |
|
| 654 | } |
|
| 655 | if (end($stack)=='-- ') { |
|
| 656 | if (!empty($m[5][0])) { |
|
| 657 | array_pop($stack); |
|
| @@ 655-660 (lines=6) @@ | ||
| 652 | } |
|
| 653 | continue;//here we could also simplify regexp |
|
| 654 | } |
|
| 655 | if (end($stack)=='-- ') { |
|
| 656 | if (!empty($m[5][0])) { |
|
| 657 | array_pop($stack); |
|
| 658 | } |
|
| 659 | continue;//here we could also simplify regexp |
|
| 660 | } |
|
| 661 | ||
| 662 | if (!empty($m[7][0]))// ';' found |
|
| 663 | { |
|