@visulima/string
Version:
Functions for manipulating strings.
11 lines (8 loc) • 577 B
text/typescript
import { l as IntervalArray } from './packem_shared/types-Daae0hGf.cjs';
export { L as LRUCache } from './packem_shared/lru-cache-B_t27XwI.cjs';
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 };