<commit_before>'use strict'

var Type = require('../type')

module.exports = Type({
  name: 'Mada',
  digits: 16,
  pattern: /^(4[^79]|5[^67]|6[3])(0[589]|1[0]|2[0238]|3[023]|4[1357]|5[0589]|6[0136]|7[67]|8[134569]|9[02347])(0[1560]|1[123457890]|2[3580]|3[6310]|4[0123]|5[67]|6[1470]|7[123]|8[23590]|9[3456])\d{10}$/,
  eagerPattern: /^(4[^79]|5[^67]|6[3])(0[589]|1[0]|2[0238]|3[023]|4[1357]|5[0589]|6[0136]|7[67]|8[134569]|9[02347])(0[1560]|1[123457890]|2[3580]|3[6310]|4[0123]|5[67]|6[1470]|7[123]|8[23590]|9[3456])/
})<commit_msg>mada: make patterns more specific (#51)<commit_after>'use strict'

var Type = require('../type')

module.exports = Type({
  name: 'Mada',
  digits: 16,
  pattern: /(4(0(0861|1757|7(197|395)|9201)|1(0685|7633|9593)|2(281(7|8|9)|8(331|67(1|2|3)))|3(1361|2328|4107|9954)|4(0(533|647|795)|5564|6(393|404|672))|5(5(036|708)|7865|8456)|6(2220|854(0|1|2|3))|8(301(0|1|2)|4783|609(4|5|6)|931(7|8|9))|93428)|5(0(4300|8160)|13213|2(1076|4(130|514)|9(415|741))|3(0906|1095|2013|5(825|989)|6023|7767|9931)|4(3(085|357)|9760)|5(4180|7606|8848)|8(5265|8(8(4(5|6|7|8|9)|5(0|1))|98(2|3))|9(005|206)))|6(0(4906|5141)|36120)|9682(0(1|2|3|4|5|6|7|8|9)|1(0|1)))\d{10}$/,
  eagerPattern: /4(0(0861|1757|7(197|395)|9201)|1(0685|7633|9593)|2(281(7|8|9)|8(331|67(1|2|3)))|3(1361|2328|4107|9954)|4(0(533|647|795)|5564|6(393|404|672))|5(5(036|708)|7865|8456)|6(2220|854(0|1|2|3))|8(301(0|1|2)|4783|609(4|5|6)|931(7|8|9))|93428)|5(0(4300|8160)|13213|2(1076|4(130|514)|9(415|741))|3(0906|1095|2013|5(825|989)|6023|7767|9931)|4(3(085|357)|9760)|5(4180|7606|8848)|8(5265|8(8(4(5|6|7|8|9)|5(0|1))|98(2|3))|9(005|206)))|6(0(4906|5141)|36120)|9682(0(1|2|3|4|5|6|7|8|9)|1(0|1))/
})
{'fraction_non_alphanumeric': 0.3464285714285714, 'fraction_numerical': 0.4880952380952381, 'mean_word_length': 20.55128205128205, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2522627', 'n_tokens_mistral': 1389, 'n_tokens_neox': 1034, 'n_words': 35}