MediaWiki-API-Ergebnis
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"batchcomplete": "",
"continue": {
"gapcontinue": "Roundcube_als_Webmail-Client_(Debian)",
"continue": "gapcontinue||"
},
"warnings": {
"main": {
"*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
},
"revisions": {
"*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
}
},
"query": {
"pages": {
"260": {
"pageid": 260,
"ns": 0,
"title": "RegEx",
"revisions": [
{
"contentformat": "text/x-wiki",
"contentmodel": "wikitext",
"*": "== Introduction ==\n\nThis article contains notes for RegEx respectively Regular Expressions and also some useful ressources.\n\nRegEx are not Regular Expressions in the narrower sense of the word but today both tearms are used more or less interchangably. More on that: https://www.rexegg.com/regex-vs-regular-expression.html\n\n== General Rules ==\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Meta Characters\n! Meta Character !! Example\n|-\n| Single Character || .\n|-\n| Character class digit || \\d\n|-\n| Character class character || \\w\n|-\n| \nCharacter class whitespace <br>\n(Space, tab, new line, carriage return) \n|| \\s\n|-\n| Inversion of character classes (Not) || \\D, \\W, \\S\n|-\n| Word and text boundaries || b ^ $\n|}\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Ranges\n! Range !! Example\n|-\n| Character class range|| [a-c]\n|-\n| Inversion of character class range || [^abc]\n|}\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Quantifiers\n! Quantifier !! Example\n|-\n| Zero or one character || ?\n|-\n| Zero or more characters (Kleene Star) || *\n|-\n| One or more characters (Kleene Plus) || +\n|-\n| Three characters || {3}\n|-\n| Four to 20 characters || {4,20}\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | White Space Characters\n! White Space !! Example\n|-\n| Space || _\n|-\n| Tab || \\t\n|-\n| New line || \\n\n|-\n| Carriage return || \\r\n|-\n| Any white space character || \\s\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Line start and end\n! Type !! Example\n|-\n| Start of line || ^\n|-\n| End of line || $\n|}\n\n\n{| class=\"wikitable\"\n|+ style=\"text-align: left\" | Groups and nested groups\n! Type !! String !! Expression !! Results\n|-\n| Group Example 1 || IMG1000.png || ^(IMG\\d+\\.png)$ || IMG1000.png\n|-\n| Group Example 2 || IMG1000.png || ^(IMG\\d+)\\.png$ || IMG1000\n|-\n| Nested group || IMG1000.png || ^(IMG(\\d+))\\.png$ || \nGroup 1: IMG1000 <br>\nGroup 2: 1000\n|-\n| Multiple groups || 1920x1080 || (\\d+)x(\\d+) || \nGroup 1: IMG1000 <br>\nGroup 2: 1000\n|-\n| Grouping with alternatives || Monday or Tuesday || (Mon|Tues)day || \nMatch 1: Monday <br>\nGroup 1: Mon <br>\nMatch 2: Tuesday <br>\nGroup 2: Tues\n|}\n\n== Online Regex Tools ==\n\n* Interpreter\n** https://regexr.com/\n** https://regex101.com/\n* Visualization\n** https://regexper.com/\n\n== Tutorials and Guides ==\n\nGuide (german): https://t3n.de/news/regex-guide-t3n-552858/\n\nQuick Start Cheat Sheet: https://www.rexegg.com/regex-quickstart.html\n\nAdvanced tutorial: https://www.rexegg.com/regex-disambiguation.html\n\nPractical tutorial: https://regexone.com/\n\nRegEx with JavaScript: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/#regular-expressions\n\nRegEx Cheat Sheet for Notepad++: https://www.linguisticsweb.org/doku.php?id=linguisticsweb:tutorials:basics:regex:regex-notepad\n\n\n[[Category:RegEx]]"
}
]
},
"343": {
"pageid": 343,
"ns": 0,
"title": "Robocopy (Windows)",
"revisions": [
{
"contentformat": "text/x-wiki",
"contentmodel": "wikitext",
"*": "Robocopy is part of Microsoft Powertoys.\n\nIt enables you to copy files and whole directory structures\n robocopy C:\\Users\\Alice\\source-dir c:\\Users\\Bob\\target-dir /mir\n<code>/e</code> copies subdirectories, includes empty directories.\n\n<code>/purge</code> deletes files and directories in the target that no longer exist in the source. Using this option together with <code>/e</code> allows the destination directory security settings to not be overwritten.\n\n<code>/mir</code> mirrors a directory tree and is equivalent to <code>/e</code> and <code>/purge</code>. Using this option together with <code>/e</code> allows the destination directory security settings to be overwritten.\n\n\n\nSource: https://learn.microsoft.com/de-de/windows-server/administration/windows-commands/robocopy\n\n[[Kategorie:Windows]]\n[[Kategorie:Terminal]]"
}
]
}
}
}
}