Scoop API

scoop:scoop.regex:0.1.0

RegexSyntaxException

class RegexSyntaxException

source · line 20
public
public class RegexSyntaxException public constructor(
    /** The supplied pattern. */ public val pattern: String,
    /** The Unicode scalar position reported by compilation. */ public val offset: Long,
    /** The original PCRE2 error code. */ public val nativeCode: Int,
    /** The copied native diagnostic. */ public val detail: String
) : Exception(Some(detail))

A pattern compilation error with a Unicode scalar offset into the original pattern.

property offset

source · line 22
public
public val offset: Long

get: public read-only

The Unicode scalar position reported by compilation.

property nativeCode

source · line 23
public
public val nativeCode: Int

get: public read-only

The original PCRE2 error code.

property detail

source · line 24
public
public val detail: String

get: public read-only

The copied native diagnostic.