UNPKG

@atomist/slack-messages

Version:

Atomist utilities for creating formatted Slack messages

12 lines 529 B
/** * Perform transformations on input string, skipping sections that match * the regular expression. * * @param text input string * @param splitter a regular expression to split the string * @param transform function that takes non-skipped sections as input * and performs transformation * @return transformed string, stitched back together */ export declare function splitProcessor(text: string, transform: (i: string) => string, splitter: RegExp): string; //# sourceMappingURL=splitProcessor.d.ts.map