Skip to content

docs: Incorrect regexp flag #27107

@jseldess

Description

@jseldess

Re: Functions and Operators

Issue Description

For the regexp_replace(input: string, regex: string, replace: string, flags: string) function, the supported flags are listed in a table, and the flag for "Global matching" is given as "i", but this is incorrect; the correct flag for this option/mode is "g", as I have discovered while testing a query.

Suggested Resolution

Change "i" to "g". 😺

Moved from cockroachdb/docs#3312 since the docs a derived from the cockroach code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions