ballerina.builtin package

public struct Regex

Represents a Regular expression in ballerina and can perform various Regular expression methods.

Field Name Data Type Description Default Value
pattern string regex:Pattern as a String

public struct error

Field Name Data Type Description Default Value
message string
cause error

public annotation Description

Attribute Name Data Type Description
value string

public annotation Field

Attribute Name Data Type Description
value string

public annotation Param

Attribute Name Data Type Description
value string

public annotation Return

Attribute Name Data Type Description
value string