Scoop API

scoop:scoop.regex:0.1.0

RegexReplacementException

class RegexReplacementException

source · line 28
public
public class RegexReplacementException public constructor(
    /** The original PCRE2 error code. */ public val nativeCode: Int,
    /** The copied native diagnostic. */ public val detail: String,
    /** The template position, if the engine reports one. */ public val offset: Long?
) : Exception(Some(detail))

An error in a replacement template; an available offset counts Unicode scalars.

property nativeCode

source · line 29
public
public val nativeCode: Int

get: public read-only

The original PCRE2 error code.

property detail

source · line 30
public
public val detail: String

get: public read-only

The copied native diagnostic.

property offset

source · line 31
public
public val offset: Long?

get: public read-only

The template position, if the engine reports one.