x Document ,-[$DIR/tests/recovery/element/plaintext/input.html:1:1] 1 | ,-> 3 | | 4 | | 5 | | 6 | | Тег PLAINTEXT 7 | | 8 | | 9 | |

Пример программы

10 | | 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:1:1] 1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 | `-> "http://www.w3.org/TR/html4/strict.dtd"> `---- x DocumentType ,-[$DIR/tests/recovery/element/plaintext/input.html:1:1] 1 | ,-> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 2 | `-> "http://www.w3.org/TR/html4/strict.dtd"> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:3:1] 3 | ,-> <html> 4 | | <head> 5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | | <title>Тег PLAINTEXT</title> 7 | | </head> 8 | | <body> 9 | | <p>Пример программы</p> 10 | | <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:3:1] 3 | ,-> <html> 4 | | <head> 5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | | <title>Тег PLAINTEXT</title> 7 | | </head> 8 | | <body> 9 | | <p>Пример программы</p> 10 | | <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:4:1] 4 | ,-> <head> 5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | `-> <title>Тег PLAINTEXT</title> 7 | </head> `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:4:1] 4 | ,-> <head> 5 | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | `-> <title>Тег PLAINTEXT</title> 7 | </head> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:4:1] 4 | ,-> <head> 5 | `-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:4:1] 4 | ,-> <head> 5 | `-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:5:5] 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:5:5] 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Attribute ,-[$DIR/tests/recovery/element/plaintext/input.html:1:1] 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" : ^ `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:5:5] 5 | ,-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | `-> <title>Тег PLAINTEXT</title> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:5:5] 5 | ,-> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6 | `-> <title>Тег PLAINTEXT</title> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^^^^^^^^^^^^^^^^^^^^^^^ `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^^^^^^^^^^^^^^^^^^^^^^^ `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^^^^^^^^^^^^^^^^ `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^^^^^^^^^^^^^^^^ `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^ 7 | </head> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:6:5] 6 | <title>Тег PLAINTEXT</title> : ^ 7 | </head> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:7:1] 7 | </head> : ^ 8 | <body> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:7:1] 7 | </head> : ^ 8 | <body> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:8:1] 8 | ,-> <body> 9 | | <p>Пример программы</p> 10 | | <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:8:1] 8 | ,-> <body> 9 | | <p>Пример программы</p> 10 | | <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:8:1] 8 | <body> : ^ 9 | <p>Пример программы</p> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:8:1] 8 | <body> : ^ 9 | <p>Пример программы</p> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^ 10 | <plaintext> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:9:1] 9 | <p>Пример программы</p> : ^ 10 | <plaintext> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:10:1] 10 | ,-> <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Element ,-[$DIR/tests/recovery/element/plaintext/input.html:10:1] 10 | ,-> <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Child ,-[$DIR/tests/recovery/element/plaintext/input.html:10:1] 10 | ,-> <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `---- x Text ,-[$DIR/tests/recovery/element/plaintext/input.html:10:1] 10 | ,-> <plaintext> 11 | | <h1>Демонстрация метода Подборского</h1> 12 | | while (<>) { 13 | | $org=$_; 14 | | s/\\["']//g; 15 | | s/\/\/[^:].*//; 16 | | s/\/\*.*\*\///g; 17 | | if ($comment == 1) { 18 | | if (s/.*\*\///) { 19 | | $comment = 0; 20 | | } 21 | | else { 22 | | next; 23 | | } 24 | | } 25 | | if (s/\/\*.*//) { 26 | | $comment = 1; 27 | | } 28 | | if (/^\s*#/) { 29 | | next; 30 | | } 31 | | }</plaintext> 32 | | </body> 33 | `-> </html> `----