Returns a list of all matches of a regular expression in a string (including named or indexed groups).
Using regexall
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function regexall(args: RegexallArgs, opts?: InvokeOptions): Promise<RegexallResult>
function regexallOutput(args: RegexallOutputArgs, opts?: InvokeOptions): Output<RegexallResult>def regexall(pattern: Optional[str] = None,
string: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> RegexallResult
def regexall_output(pattern: Optional[pulumi.Input[str]] = None,
string: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[RegexallResult]func Regexall(ctx *Context, args *RegexallArgs, opts ...InvokeOption) (*RegexallResult, error)
func RegexallOutput(ctx *Context, args *RegexallOutputArgs, opts ...InvokeOption) RegexallResultOutput> Note: This function is named Regexall in the Go SDK.
public static class Regexall
{
public static Task<RegexallResult> InvokeAsync(RegexallArgs args, InvokeOptions? opts = null)
public static Output<RegexallResult> Invoke(RegexallInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<RegexallResult> regexall(RegexallArgs args, InvokeOptions options)
public static Output<RegexallResult> regexall(RegexallArgs args, InvokeOptions options)
fn::invoke:
function: std:regexall
arguments:
# arguments dictionaryThe following arguments are supported:
regexall Result
The following output properties are available:
- Result List<object>
- Result []interface{}
- result List<Object>
- result any[]
- result Sequence[Any]
- result List<Any>
Package Details
- Repository
- std pulumi/pulumi-std
- License
