Uatp / Airplus Format
Closed this issue · 2 comments
llesterdayBay commented
First of all, the library is amazing and works like a charm.
I need that uatp/airplus credit card format is added to format it correctly, so, i open this issue asking if its possible to do that with the pattern of uatp/airplus credit card:
pattern:"1[0-9]{12,15}"
Example of uatp/airplus credit card: 1920 0200 000000.
Thank u very much.
Regards.
bendrucker commented
Thank you! See previous issues for my threshold for adding new types here. I require some official documentation from an issuing bank. You can add custom types yourself if you're not able to provide documentation for inclusion in the lib.
sajanyamaha commented
i added this ,
exports.uatp = new Type('Uatp', {
pattern: /^1[0-9]\d{12,15}$/,
eagerPattern: /^(1[1-4])/
})