draft: post about formatting lib

This commit is contained in:
りき萌 2025-08-17 22:22:00 +02:00
parent 332fb13668
commit 153ba9f0c2
5 changed files with 699 additions and 5 deletions

View file

@ -22,8 +22,8 @@
"captures": ["identifier", "keyword2"]
}
},
{ "regex": "(u8|u|U|L)'(\\\\'|[^'])'", "is": "string" },
{ "regex": "(u8|u|U|L)\"(\\\\\"|[^\"])*\"", "is": "string" },
{ "regex": "(u8|u|U|L)?'(\\\\'|[^'])'", "is": "string" },
{ "regex": "(u8|u|U|L)?\"(\\\\\"|[^\"])*\"", "is": "string" },
{ "regex": "[a-zA-Z_][a-zA-Z0-9_]*", "is": "identifier" },
{ "regex": "0[bB][01']+[uUlLfFlLdDwWbB]*", "is": "literal" },
{