Index: trunk/extensions/VisualEditor/tests/parser/dumpGrepPatterns/martian-endtags.sh |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | |
16 | 16 | #regexp="<(?!\/|$exts|$htmls)[^>]*>.*?<!--([^<]+|<(\/|$exts|$htmls)[^>]*>)*<\/(?!$exts|$htmls)[^>]*>" |
17 | 17 | #regexp="<(?!/|$normaltags)[^&]+>[^&]+<!--[^&-]*</(?!$normaltags)((?!>).)+>" |
18 | | -regexp="</(?=[a-z])(?!$normaltags)[^&]+>" |
| 18 | +regexp="</(?=[a-z])(?!$normaltags)[^>]+>" |
19 | 19 | #regexp="<(?!\/|$exts|$htmls)[^>]*>" |
20 | 20 | |
21 | 21 | #echo $regexp |
Index: trunk/extensions/VisualEditor/tests/parser/dumpGrepper.js |
— | — | @@ -47,8 +47,8 @@ |
48 | 48 | |
49 | 49 | reader.on( 'revision', grepper.grepRev.bind( grepper ) ); |
50 | 50 | grepper.on( 'match', function ( revision, bits ) { |
51 | | - console.log( 'Match:' + revision.page.title ); |
52 | 51 | for ( var i = 0, l = bits.length; i < l-1; i += 2 ) { |
| 52 | + console.log( '== Match: [[' + revision.page.title + ']] ==' ); |
53 | 53 | var m = bits[i+1]; |
54 | 54 | if ( argv.color ) { |
55 | 55 | console.log( bits[i].substr(-40) + m.green + bits[i+2].substr( 0, 40 ) ); |