@@ -1485,24 +1485,34 @@ =head1 B<--param>
14851485# ^ meta.string.perl string.quoted.angle.perl
14861486# ^ meta.string.perl string.quoted.angle.perl punctuation.definition.string.end.perl
14871487# ^ - meta.string - string
1488- "quoted \"interpolated\" foo 'bar' $baz $"
1488+ "quoted \"interpolated\" \ foo 'bar' $baz $"
14891489# ^ punctuation.definition.string.begin.perl
1490- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.double.perl - meta.interpolation
1491- # ^^^^ meta.string.perl meta.interpolation.perl - string
1492- # ^^^ meta.string.perl string.quoted.double.perl - meta.interpolation
1490+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.double.perl - meta.interpolation
1491+ # ^^^^ meta.string.perl meta.interpolation.perl - string
1492+ # ^^^ meta.string.perl string.quoted.double.perl - meta.interpolation
14931493# ^^ constant.character.escape.perl
14941494# ^^ constant.character.escape.perl
1495- # ^^^^ variable.other.readwrite.perl
1496- # ^ - variable
1497- # ^ punctuation.definition.string.end.perl
1498- 'quoted "interpolated" foo \'bar\' $baz $'
1495+ # ^^ constant.character.escape.perl
1496+ # ^^^^ variable.other.readwrite.perl
1497+ # ^ - variable
1498+ # ^ punctuation.definition.string.end.perl
1499+ 'quoted "interpolated" \foo \'bar\' $baz $'
14991500# ^ punctuation.definition.string.begin.perl
1500- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.single.perl
1501- # ^^ constant.character.escape.perl
1502- # ^^ constant.character.escape.perl
1503- # ^^^^ - variable
1504- # ^ - variable
1505- # ^ punctuation.definition.string.end.perl
1501+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.single.perl
1502+ # ^^ - constant.character.escape
1503+ # ^^ constant.character.escape.perl
1504+ # ^^ constant.character.escape.perl
1505+ # ^^^^ - variable
1506+ # ^ - variable
1507+ # ^ punctuation.definition.string.end.perl
1508+ 'foo \' foo\\\' bar\\\\'
1509+ # ^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.single.perl
1510+ # ^ punctuation.definition.string.begin.perl
1511+ # ^^ constant.character.escape.perl
1512+ # ^^^^ constant.character.escape.perl
1513+ # ^^^^ constant.character.escape.perl
1514+ # ^ punctuation.definition.string.end.perl
1515+ # ^ - meta.string - string
15061516 `quoted "interpolated" foo \`bar\` $baz $`
15071517# ^ punctuation.definition.string.begin.perl
15081518# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.quoted.backtick.perl - meta.interpolation
@@ -1543,22 +1553,29 @@ =head1 B<--param>
15431553# ^ - variable
15441554# ^ punctuation.definition.string.end.perl
15451555# ^ keyword.operator.comparison.perl
1556+ # Note: The \/ can't be highlighted as escaped due to ST backref limitations.
15461557 q/quoted "interpolated" foo 'bar' \/ $baz/
15471558# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
15481559# ^ support.function.perl
15491560# ^ punctuation.section.generic.begin.perl - string
15501561# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string.perl string.unquoted.perl - meta.interpolation
1551- # ^^ constant.character.escape.perl
15521562# ^^^^ - variable
15531563# ^ punctuation.section.generic.end.perl - string
1554- q\quoted "interpolated" foo 'bar' / $baz\
1555- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
1564+ q/ foo \/ foo\\\/ bar\\\\/
1565+ # ^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
15561566# ^ support.function.perl
15571567# ^ punctuation.section.generic.begin.perl - string
1558- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted.perl
1559- # ^^^^ - variable
1560- # ^ punctuation.section.generic.end.perl - string
1561- q{quoted "interpolated" {foo} 'bar' \/ $baz}
1568+ # ^ punctuation.section.generic.end.perl - meta.string - string
1569+ q\quoted "interpolated" foo 'bar' \\ $baz\
1570+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
1571+ # ^ support.function.perl
1572+ # ^ punctuation.section.generic.begin.perl - string
1573+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted.perl
1574+ # ^ punctuation.section.generic.end.perl - string
1575+ # ^ keyword.operator.reference.perl
1576+ # ^^^^ variable.other.readwrite.perl
1577+ # ^ keyword.operator.reference.perl
1578+ q{quoted "interpolated" {foo} 'bar' \} $baz}
15621579# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
15631580# ^ support.function.perl
15641581# ^ punctuation.section.braces.begin.perl - string
@@ -1576,6 +1593,15 @@ =head1 B<--param>
15761593# ^^ constant.character.escape.perl
15771594# ^^^^ - variable
15781595# ^ punctuation.section.brackets.end.perl - string
1596+ q[foo \] foo\\\] bar\\\\]
1597+ # ^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
1598+ # ^ support.function.perl
1599+ # ^ punctuation.section.brackets.begin.perl - string
1600+ # ^^ constant.character.escape.perl
1601+ # ^^^^ constant.character.escape.perl
1602+ # ^^^^ constant.character.escape.perl
1603+ # ^ punctuation.section.brackets.end.perl
1604+ # ^ - meta.string - string
15791605 q<quoted "interpolated" <foo> 'bar' \> $baz>
15801606# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
15811607# ^ support.function.perl
@@ -1585,7 +1611,16 @@ =head1 B<--param>
15851611# ^^ constant.character.escape.perl
15861612# ^^^^ - variable
15871613# ^ punctuation.section.generic.end.perl - string
1588- q(quoted "interpolated" [foo] 'bar' \] $baz)
1614+ q<foo \> foo\\\> bar\\\\>
1615+ # ^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
1616+ # ^ support.function.perl
1617+ # ^ punctuation.section.generic.begin.perl - string
1618+ # ^^ constant.character.escape.perl
1619+ # ^^^^ constant.character.escape.perl
1620+ # ^^^^ constant.character.escape.perl
1621+ # ^ punctuation.section.generic.end.perl
1622+ # ^ - meta.string - string
1623+ q(quoted "interpolated" [foo] 'bar' \) $baz)
15891624# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
15901625# ^ support.function.perl
15911626# ^ punctuation.section.parens.begin.perl - string
@@ -1594,6 +1629,15 @@ =head1 B<--param>
15941629# ^^ constant.character.escape.perl
15951630# ^^^^ - variable
15961631# ^ punctuation.section.parens.end.perl - string
1632+ q(foo \) foo\\\) bar\\\\)
1633+ # ^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function-call.perl
1634+ # ^ support.function.perl
1635+ # ^ punctuation.section.parens.begin.perl - string
1636+ # ^^ constant.character.escape.perl
1637+ # ^^^^ constant.character.escape.perl
1638+ # ^^^^ constant.character.escape.perl
1639+ # ^ punctuation.section.parens.end.perl
1640+ # ^ - meta.string - string
15971641 q['
15981642# ^ support.function.perl
15991643# ^ punctuation.section.brackets.begin.perl - string
0 commit comments