@visulima/string
Version:
Functions for manipulating strings.
11 lines (8 loc) • 575 B
TypeScript
import { l as IntervalArray } from './packem_shared/types-Daae0hGf.js';
export { L as LRUCache } from './packem_shared/lru-cache-B_t27XwI.js';
declare const escapeRegExp: (char: string) => string;
declare const inRange: (number_: number, ranges: IntervalArray) => boolean;
declare const hasChinese: (char: string) => boolean;
declare const hasPunctuationOrSpace: (char: string) => boolean;
declare const findStringOccurrences: (source: string, needles: string[]) => IntervalArray;
export { escapeRegExp, findStringOccurrences, hasChinese, hasPunctuationOrSpace, inRange };