Variable RGEX_CONFIGConst
RGEX_CONFIG: {
name: "RGex";
version: "1.0.0";
description: "A powerful, chainable regex builder platform";
author: "duongnguyen321";
website: "https://duongnguyen321.github.io/rgex/";
repository: "https://github.com/duongnguyen321/rgex";
defaults: {
passwordValidation: {
minLength: 8;
maxLength: 128;
hasNumber: true;
hasSpecial: true;
hasUpperChar: true;
hasLowerChar: true;
hasSymbol: false;
hasUnicode: false;
noSequential: false;
noRepeating: false;
noCommonWords: false;
customPattern: undefined;
};
humanTextConfidence: { high: 0.8; medium: 0.6; low: 0.4 };
flags: {
global: false;
ignoreCase: false;
multiline: false;
dotAll: false;
unicode: false;
sticky: false;
};
};
features: {
humanTextParsing: true;
advancedPasswordValidation: true;
prebuiltPatterns: true;
builderPattern: true;
validationMethods: true;
};
messages: {
errors: {
invalidPattern: "Invalid regex pattern provided";
unknownHumanText: "Could not understand the text description";
invalidCustomPattern: "Invalid custom pattern in password validation";
validationFailed: "Validation failed for the provided input";
};
success: {
patternExtracted: "Successfully extracted pattern from human text";
validationRulesExtracted: "Successfully extracted validation rules";
passwordAnalyzed: "Password analysis completed";
};
};
} = ...
Type declaration
Readonly
name: "RGex"
Readonly
version: "1.0.0"
Readonly
description: "A powerful, chainable regex builder platform"
Readonly
author: "duongnguyen321"
Readonly
website: "https://duongnguyen321.github.io/rgex/"
Readonly
repository: "https://github.com/duongnguyen321/rgex"
Readonly
defaults: {
passwordValidation: {
minLength: 8;
maxLength: 128;
hasNumber: true;
hasSpecial: true;
hasUpperChar: true;
hasLowerChar: true;
hasSymbol: false;
hasUnicode: false;
noSequential: false;
noRepeating: false;
noCommonWords: false;
customPattern: undefined;
};
humanTextConfidence: { high: 0.8; medium: 0.6; low: 0.4 };
flags: {
global: false;
ignoreCase: false;
multiline: false;
dotAll: false;
unicode: false;
sticky: false;
};
}
Readonly
features: {
humanTextParsing: true;
advancedPasswordValidation: true;
prebuiltPatterns: true;
builderPattern: true;
validationMethods: true;
}
Readonly
messages: {
errors: {
invalidPattern: "Invalid regex pattern provided";
unknownHumanText: "Could not understand the text description";
invalidCustomPattern: "Invalid custom pattern in password validation";
validationFailed: "Validation failed for the provided input";
};
success: {
patternExtracted: "Successfully extracted pattern from human text";
validationRulesExtracted: "Successfully extracted validation rules";
passwordAnalyzed: "Password analysis completed";
};
}
RGex Configuration Central configuration for the RGex library