Skip to main content

Interface: PatternMatch

Defined in: rabin-karp.ts:38 Result of a pattern match

Properties

column?

optional column?: number
Defined in: rabin-karp.ts:46 Column number within the line

index

index: number
Defined in: rabin-karp.ts:40 Starting index of the match in the text

line?

optional line?: number
Defined in: rabin-karp.ts:44 Line number (if text contains newlines)

match

match: string
Defined in: rabin-karp.ts:42 The matched substring