User:松/Drafts/Extension:AbuseFilter/Rules format

From TestWiki
Revision as of 00:38, 6 November 2017 by 5.72.55.82 (talk)

Literals

You can specify a literal by placing it in single or double quotes (for strings), or by typing it in as-is (for numbers, both floating-point and integer). You can get linebreaks with \n, tab characters with \t, and you can also escape the quote character with a backslash.

Examples

"This is a string"
'This is also a string'
'This string shouldn\'t fail'
"This string\nHas a linebreak"
1234
1.234
-123