diff options
Diffstat (limited to 'tests/examplefiles/perl/perl_regex-delims.output')
-rw-r--r-- | tests/examplefiles/perl/perl_regex-delims.output | 516 |
1 files changed, 258 insertions, 258 deletions
diff --git a/tests/examplefiles/perl/perl_regex-delims.output b/tests/examplefiles/perl/perl_regex-delims.output index 41f06ea8..777edcd9 100644 --- a/tests/examplefiles/perl/perl_regex-delims.output +++ b/tests/examplefiles/perl/perl_regex-delims.output @@ -1,800 +1,800 @@ '#! /usr/bin/env perl' Comment.Hashbang -'\n\n' Text +'\n\n' Text.Whitespace 'use' Keyword -' ' Text +' ' Text.Whitespace 'strict' Name.Namespace ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'use' Keyword -' ' Text +' ' Text.Whitespace 'warnings' Name.Namespace ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace '# common delimiters' Comment.Single -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"a: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'a' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'a' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'a' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's/foo/bar/' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'a' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"b: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'b' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'b' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'b' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's!foo!bar!' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'b' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"c: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'c' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'c' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'c' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's@foo@bar@' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'c' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"d: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'd' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'd' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'd' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's\\foo\\bar\\' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'd' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace '# balanced delimiters' Comment.Single -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"e: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'e' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'e' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'e' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's{foo}' Literal.String.Regex '{bar}' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'e' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"f: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'f' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'f' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'f' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's(foo)' Literal.String.Regex '(bar)' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'f' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"g: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'g' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'g' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'g' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's<foo>' Literal.String.Regex '<bar>' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'g' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"h: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'h' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'h' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'h' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's[foo]' Literal.String.Regex '[bar]' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'h' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace '# balanced delimiters with whitespace' Comment.Single -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"i: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'i' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'i' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'i' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's{foo} ' Literal.String.Regex '{bar}' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'i' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"j: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'j' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'j' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'j' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's<foo>\t\t' Literal.String.Regex '<bar>' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'j' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"k: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'k' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'k' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'k' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -'\n\t' Text +'\n\t' Text.Whitespace 's(foo)\n\n\t' Literal.String.Regex '(bar)' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'k' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace '# mixed delimiters' Comment.Single -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"l: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'l' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'l' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'l' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's{foo} ' Literal.String.Regex '<bar>' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'l' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"m: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'm' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'm' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'm' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's(foo) ' Literal.String.Regex '!bar!' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'm' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"n: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'n' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'n' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'n' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's[foo] ' Literal.String.Regex '$bar$' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'n' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace '# /x modifier' Comment.Single -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"o: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'o' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'o' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'o' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's{\n\t\t\t\tfoo\n\t\t\t } ' Literal.String.Regex '{bar}x' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'o' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n\n' Text +'\n\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '"p: "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'my' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'p' Name.Variable -' ' Text +' ' Text.Whitespace '=' Operator -' ' Text +' ' Text.Whitespace '"foo"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'p' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '" - "' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace '$' Name.Variable 'p' Name.Variable -' ' Text +' ' Text.Whitespace '=~' Operator -' ' Text +' ' Text.Whitespace 's%\n foo\n %bar%x' Literal.String.Regex ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'print' Keyword -' ' Text +' ' Text.Whitespace '$' Name.Variable 'p' Name.Variable ',' Punctuation -' ' Text +' ' Text.Whitespace '"\\n"' Literal.String ';' Punctuation -'\n' Text +'\n' Text.Whitespace |