Anonymous user
Rosetta Code/Find bare lang tags: Difference between revisions
m
added whitespace before the TOC (table of contents), added a ;Task: and other (bold) headers, added whitespace and highlighting to the task's preamble.
m (→{{header|zkl}}: added doc) |
m (added whitespace before the TOC (table of contents), added a ;Task: and other (bold) headers, added whitespace and highlighting to the task's preamble.) |
||
Line 1:
{{task|Rosetta Code related}}
Find all <nowiki><lang></nowiki> tags without a language specified in the text of a page. Display counts by language section:▼
;Task:
<pre><nowiki>Description▼
▲Find all <big><big> <nowiki><lang></nowiki> </big></big> tags without a language specified in the text of a page.
Display counts by language section:
<pre>
<lang>Pseudocode</lang>
Line 10 ⟶ 15:
=={{header|Perl}}==
<lang>print "Hello world!\n"</lang></nowiki
</pre>
should display something like
<pre>
1 in perl
1 in no language
</pre>
For extra credit, allow multiple files to be read. Summarize all results by language:▼
;Extra credit:
<pre><nowiki>5 bare language tags.▼
<pre>
2 in c ([[Foo]], [[Bar]])
1 in perl ([[Foo]])
2 in no language ([[Baz]])</nowiki
</pre>
;Extra extra credit:
<br><br>
=={{header|AutoHotkey}}==
|