UNPKG

rdf-dataset-fragmenter

Version:
11 lines (10 loc) 392 B
import type * as RDF from '@rdfjs/types'; import type { IValueModifier } from './IValueModifier'; /** * A value modifier that applies the given regex on the value and replaces it with the first group match. */ export declare class ValueModifierRegexReplaceGroup implements IValueModifier { private readonly regex; constructor(regex: string); apply(value: RDF.Term): RDF.Term; }