This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,11 @@ tabStopWithoutPlaceholder = '${' index:[0-9]+ '}' {
3737tabStopWithPlaceholder = '${' index :[0-9]+ ':' content :placeholderContent '}' {
3838 return { index: parseInt (index .join (" " )), content: content };
3939}
40- tabStopWithTransformation = '${' index :[0-9]+ substitution :transformationSubstitution '}' {
40+ tabStopWithTransformation = '${' index :[0-9]+ transformation :transformationSubstitution '}' {
4141 return {
4242 index: parseInt (index .join (" " ), 10 ),
4343 content: [],
44- substitution : substitution
44+ transformation,
4545 };
4646}
4747
@@ -71,12 +71,12 @@ transformationSubstitution = '/' find:(escapedForwardSlash / [^/])* '/' replace:
7171formatString = content :(formatStringEscape / formatStringReference / escapedForwardSlash / [^/])+ {
7272 return content;
7373}
74- // Backreferencing a substitution . Different from a tab stop.
74+ // Backreferencing a transformation capture group . Different from a tab stop.
7575formatStringReference = '$' digits :[0-9]+ {
7676 return { backreference: parseInt (digits .join (' ' ), 10 ) };
7777};
7878// One of the special control flags in a format string for case folding and
7979// other tasks.
8080formatStringEscape = '\\ ' flag :[ULulErn$] {
81- return { escape : flag };
81+ return { modifier : flag };
8282}
You can’t perform that action at this time.
0 commit comments