You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RegexDialog/RegExToolDialog.xaml
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -340,11 +340,12 @@
340
340
<TextBlock>You must use at least one <Bold>return</Bold> keyword to return a string</TextBlock>
341
341
<TextBlock>You can use the following variables :</TextBlock>
342
342
<TextBlock>- <Bold>match</Bold> : Contains the current Regex Match</TextBlock>
343
-
<TextBlock>- <Bold>index</Bold> : The index of the current match in the current file</TextBlock>
343
+
<TextBlock>- <Bold>matchIndex</Bold> : The index of the current match in the current file</TextBlock>
344
344
<TextBlock>- <Bold>fileName</Bold> : (If in directory search) the fileName where the match was found</TextBlock>
345
345
<TextBlock>- <Bold>globalIndex</Bold> : (If in directory search) the index of the match in all files</TextBlock>
346
346
<TextBlock>- <Bold>fileIndex</Bold> : (If in directory search) the index of the file</TextBlock>
347
-
<TextBlockMargin="0,5,0,0">You can declare shared variables, properties or methods putting code between <Bold>#global</Bold> and <Bold>#endglobal</Bold></TextBlock>
347
+
<TextBlockMargin="0,5,0,0">You can add specific usings between <Bold>#usings</Bold> and <Bold>#usings</Bold></TextBlock>
348
+
<TextBlock>You can declare shared variables, properties or methods putting code between <Bold>#global</Bold> and <Bold>#endglobal</Bold></TextBlock>
348
349
<TextBlock>Between <Bold>#before</Bold> and <Bold>#endbefore</Bold> you get the <Bold>text</Bold> before it is used as input of the regex by returning a string you can redefine it.</TextBlock>
349
350
<TextBlock>Between <Bold>#after</Bold> and <Bold>#endafter</Bold> you get the <Bold>text</Bold> after it is processed by the regex by returning a string you can modify it a last time.</TextBlock>
0 commit comments