README
ret-extended
Overview
This adds details to the tokens produced by the ret package. Namely it adds the following properties.
For all tokens the following properties are given:
/**
* Details that are added to every ret.js token
*/
export interface Detailed<T extends Tokens> {
/**
* Minimum number of characters required to 'satisfy' the regex component
*/
minChar: number;
/**
* Maximum number of characters required to 'satisfy' the regex component
*/
maxChar: number;
/**
* Whether the '^' positional is applied or not;
*/
leftEnd: boolean;
/**
* Whether the '