Debian Codegraph @

tests/snippets/ruby/test_escaped_bracestring.txt

raw
1 ---input---
2 str.gsub(%r{\\\\}, "/")
3
4 ---tokens---
5 'str' Name
6 '.' Operator
7 'gsub' Name
8 '(' Punctuation
9 '%r{' Literal.String.Regex
10 '\\\\' Literal.String.Regex
11 '\\\\' Literal.String.Regex
12 '}' Literal.String.Regex
13 ',' Punctuation
14 ' ' Text.Whitespace
15 '"' Literal.String.Double
16 '/' Literal.String.Double
17 '"' Literal.String.Double
18 ')' Punctuation
19 '\n' Text.Whitespace