Last active
August 29, 2015 14:17
-
-
Save rgchris/107baeb3becb8974110e to your computer and use it in GitHub Desktop.
Spaces in Rebol Strings (and other tests of Rebol highlighting)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rebol [ | |
Title: "Syntax Highlighting of Spaces in Strings" | |
Date: 29-Mar-2015 | |
Author: "Christopher Ross-Gill" | |
] | |
Samples: [ ; a comment | |
string-with-spaces { | |
I am spaced. | |
} | |
string-with-tabs { | |
I am tabbed. | |
} | |
binary-with-spaces #{ | |
DECAFBAD | |
} | |
binary-with-tabs #{ | |
DECAFBAD | |
} | |
numbers [ | |
123 123.456 123% 123.456% 1'2'3 1'2'3.4'5'6 1.2E4 | |
] | |
strings [ | |
"A String" <a href="tag"> http://url an@email %"a file" %another-file | |
] | |
words [ | |
Rebol word :get set: 'lit /refine #issue true false none skip | |
] | |
strings-with-percent [ | |
"A string with %20 percent encoding." | |
"A string giving 100%" | |
{What is the % of bad characters in this string?} | |
] | |
comment-tags [ | |
<!-- a comment --> | |
<!-- | |
a comment | |
--> | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment