Skip to content

Word_Boundary

kareman edited this page Aug 23, 2020 · 5 revisions

Word.Boundary

Detects boundaries between words.

public struct Boundary: Pattern

Uses rules from https://www.unicode.org/reports/tr29/\#Word\_Boundary\_Rules .

Inheritance

Pattern, RegexConvertible

Nested Type Aliases

Input

public typealias Input = String

Initializers

init()

public init()

Properties

description

let description: String

regex

var regex: String

Methods

parse(_:at:)

@usableFromInline func parse(_ input: Input, at index: Input.Index) -> ParsedRange?

createInstructions(_:)

@inlinable public func createInstructions(_ instructions: inout ContiguousArray<Instruction<Input>>)
Clone this wiki locally