@abaplint/runtime
Version:
Transpiler - Runtime
22 lines (21 loc) • 684 B
TypeScript
import { ABAPObject, Structure, Table } from "../types";
import { ICharacter } from "../types/_character";
import { INumeric } from "../types/_numeric";
export type IRegexOptions = {
regex?: string | ICharacter | ABAPObject;
pcre?: string | ICharacter;
all?: boolean;
ignoringCase?: boolean;
};
export type IFindOptions = IRegexOptions & {
find?: ICharacter | string;
first?: boolean;
offset?: INumeric;
sectionOffset?: INumeric;
byteMode?: boolean;
length?: INumeric;
count?: INumeric;
results?: Table | Structure;
submatches?: ICharacter[];
};
export declare function find(input: ICharacter | Table, options: IFindOptions): void;