Metreeca Wire
    Preparing search index...
    • Generates a SPARQL replace() call substituting pattern matches.

      Replaces each match of the regular expression pattern in text with replacement; with flags, applies the match modifiers, such as "i" for case-insensitivity.

      Parameters

      • text: string

        The expression evaluating to the string to transform

      • pattern: string

        The expression evaluating to the regular-expression pattern, typically a string

      • replacement: string

        The expression evaluating to the replacement template

      • Optionalflags: string

        The expression evaluating to the match flags, or omitted for none

      Returns string

      The replace() call