Rosetta Code/Rank languages by popularity: Difference between revisions
Rosetta Code/Rank languages by popularity (view source)
Revision as of 23:40, 23 February 2023
, 1 year agofixed second DownloadString
(fixed second DownloadString) |
|||
Line 4,007:
$languages = [regex]::matches($response,'title="Category:(.*?)">') | foreach {$_.Groups[1].Value}
$response = [Net.WebClient]::new().DownloadString("http://rosettacode.org/
$response = [regex]::Replace($response,'(\d+),(\d+)','$1$2')
Line 4,039:
Rank: 10 (960 entries) Zkl
</pre>
===PowerShell: Using MediaWiki API method===
{{trans|Python}}
|