String
Single Quoted
Single quoted strings starts and ends with a single quote character. Every characters in between is considered a string.
Example
'This is a single quoted string.'
'Hello $user!'Scopes
The following scopes are assigned to single quoted strings:
- punctuation.definition.string.begin
- punctuation.definition.string.end
- string.quoted.single
- constant.character.escape
The first single quote character are given the punctuation.definition.string.begin scope while the last will be given the punctuation.definition.string.end scope. All characters in between these will be scoped as string.quoted.single, with the exception of the escape character which will have a scope of constant.character.escape.
Double Quoted
Double quoted strings starts and ends with the double quote character. Unlike single quoted strings, double quoted strings supports sub expressions and variable expansion.
Example
"This is a double quoted string."
"Hello $user!"Escape Characters
| Escape Sequence | Special Character |
|---|---|
`0 |
Null |
`a |
Alert |
`b |
Backspace |
`f |
Form feed |
`n |
New line |
`r |
Carriage return |
`t |
Horizontal tab |
`v |
Vertical tab |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
