Open
Description
Hey. I'm developing a Ruby terminal application on top of CodeRay and I'm having troubles with understanding of string
, regexp
and shell
attributes.
What is regexp function
? Why does self
sub-attribute set a color value for \d
, \w
, \b
and so on?
regexp:
self
content
delimiter
modifier
function
Why does self
sub-attribute set a color value for escape sequences like \n
, \t
and so on?
shell:
self
content
delimiter
Why does self
sub-attribute set a color value for escape sequences like \n
, \t
and so on? What is a string modifier
? Why does escape
sub-attribute not set a color for escape sequences?
string:
self
content
modifier
escape
delimiter