From 72d943aca24903bea38c5d8668e2c6b403479f18 Mon Sep 17 00:00:00 2001 From: d98762625 Date: Fri, 18 May 2018 11:26:20 +0100 Subject: [PATCH] Add register --- src/core/operations/Register.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/operations/Register.mjs b/src/core/operations/Register.mjs index a87b237b..a21ae66e 100644 --- a/src/core/operations/Register.mjs +++ b/src/core/operations/Register.mjs @@ -23,7 +23,7 @@ class Register extends Operation { this.module = "Default"; this.description = "Extract data from the input and store it in registers which can then be passed into subsequent operations as arguments. Regular expression capture groups are used to select the data to extract.

To use registers in arguments, refer to them using the notation $Rn where n is the register number, starting at 0.

For example:
Input: Test
Extractor: (.*)
Argument: $R0 becomes Test

Registers can be escaped in arguments using a backslash. e.g. \\$R0 would become $R0 rather than Test."; this.inputType = "string"; - this.outputType = "string"; + this.outputType = "string";g this.args = [ { "name": "Extractor",