
//#region ../didcomm/src/modules/credentials/protocol/revocation-notification/util/revocationIdentifier.ts
const v1ThreadRegex = /(indy)::((?:[\dA-z]{21,22}):4:(?:[\dA-z]{21,22}):3:[Cc][Ll]:(?:(?:[1-9][0-9]*)|(?:[\dA-z]{21,22}:2:.+:[0-9.]+)):.+?:CL_ACCUM:(?:[\dA-z-]+))::(\d+)$/;
const v2IndyRevocationIdentifierRegex = /((?:[\dA-z]{21,22}):4:(?:[\dA-z]{21,22}):3:[Cc][Ll]:(?:(?:[1-9][0-9]*)|(?:[\dA-z]{21,22}:2:.+:[0-9.]+)):.+?:CL_ACCUM:(?:[\dA-z-]+))::(\d+)$/;
const v2IndyRevocationFormat = "indy-anoncreds";
const v2AnonCredsRevocationIdentifierRegex = /([a-zA-Z0-9+\-.]+:.+)::(\d+)$/;
const v2AnonCredsRevocationFormat = "anoncreds";

//#endregion
exports.v1ThreadRegex = v1ThreadRegex;
exports.v2AnonCredsRevocationFormat = v2AnonCredsRevocationFormat;
exports.v2AnonCredsRevocationIdentifierRegex = v2AnonCredsRevocationIdentifierRegex;
exports.v2IndyRevocationFormat = v2IndyRevocationFormat;
exports.v2IndyRevocationIdentifierRegex = v2IndyRevocationIdentifierRegex;