Constructs a new RegexExtractTask.
Optionalproperties: IRegexExtractTaskProperties to set
The capture group number to extract (0 returns full match, 1+ returns respective capture group). Defaults to 0 if not specified.
The regular expression pattern to match against the input string. Uses the fancy-regex Rust crate syntax.
Converts this RegexExtractTask to JSON.
JSON object
StaticcreateCreates a new RegexExtractTask instance using the specified properties.
Optionalproperties: IRegexExtractTaskProperties to set
RegexExtractTask instance
StaticdecodeDecodes a RegexExtractTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
RegexExtractTask
StaticdecodeDecodes a RegexExtractTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
RegexExtractTask
StaticencodeEncodes the specified RegexExtractTask message. Does not implicitly {@apilink oracle_job.OracleJob.RegexExtractTask.verify|verify} messages.
RegexExtractTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified RegexExtractTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.RegexExtractTask.verify|verify} messages.
RegexExtractTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a RegexExtractTask message from a plain object. Also converts values to their respective internal types.
Plain object
RegexExtractTask
StaticgetGets the default type url for RegexExtractTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a RegexExtractTask message. Also converts values to other types if specified.
RegexExtractTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a RegexExtractTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Find and extract text using regular expressions from the previous task's output.
Input: String output from previous task
Returns: The matched string based on the regex pattern and group number
Example: Extract the first number from a string
Example: Extract text between quotes
Example: Extract the first JSON object from a stream