class RegexSyntaxException
source · line 20public
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))
- Supertype
Exception - Inherited
val message: Option<String>· Exception - Inherited
fun printStackTrace(): Unit· Throwable
A pattern compilation error with a Unicode scalar offset into the original pattern.
property offset
source · line 22public
public val offset: Long
get: public read-only
The Unicode scalar position reported by compilation.
property pattern
source · line 21public
public val pattern: String
get: public read-only
The supplied pattern.
property nativeCode
source · line 23public
public val nativeCode: Int
get: public read-only
The original PCRE2 error code.
constructor constructor
source · line 20public
constructor(public val pattern: String, public val offset: Long, public val nativeCode: Int, public val detail: String)
parameter offset
source · line 22public
public val offset: Long
parameter nativeCode
source · line 23public
public val nativeCode: Int
parameter detail
source · line 24public
public val detail: String
parameter pattern
source · line 21public
public val pattern: String
property detail
source · line 24public
public val detail: String
get: public read-only
The copied native diagnostic.