Constructors

Link copied to clipboard
protected constructor(regex: Regex)

Types

Link copied to clipboard

Represents matching for camel snake case, e.g. 'Camel_Snake_Case'

Link copied to clipboard
class CustomMatcher(val regex: Regex) : CaseMatcher

Represents matching for custom regular expressions

Link copied to clipboard

Represents matching for kebab case, e.g. 'kebab-case'

Link copied to clipboard

Represents matching for camel case, e.g. 'camelCase'

Link copied to clipboard

Represents matching for flat case, e.g. 'flatcase'

Link copied to clipboard

Represents matching for screaming kebab case, e.g. 'SCREAMING-KEBAB-CASE'

Link copied to clipboard

Represents matching for screaming snake case, e.g. 'SCREAMING_SNAKE_CASE'

Link copied to clipboard

Represents matching for snake case, e.g. 'snake_case'

Link copied to clipboard

Represents matching for train case, e.g. 'Train-Case'

Link copied to clipboard

Represents matching for upper camel case, e.g. 'UpperCamelCase'

Link copied to clipboard

Represents matching for upper flat case, e.g. 'UPPERFLATCASE'

Properties

Link copied to clipboard
private val regex: Regex

Functions

Link copied to clipboard
open fun matches(source: String?): Boolean
Link copied to clipboard
open override fun toString(): String