1. Packages
  2. Standard Library
  3. API Docs
  4. regexall
StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi
std logo
StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi

    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 dictionary

    The following arguments are supported:

    Pattern string
    String string
    Pattern string
    String string
    pattern String
    string String
    pattern string
    string string
    pattern String
    string String

    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
    std logo
    StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate