<commit_before>/*
 * stupid-regex-parser
 * https://github.com/tJener/stupid-regex-parser
 *
 * Copyright (c) 2013 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

var requirejs = require('requirejs');

requirejs.config({
  baseUrl: 'lib',
  nodeRequire: require
});

requirejs([ 'lexer' ], function( Lexer ) {
  var lexer = new Lexer();
  lexer.setDefinitions([
    { name: 'char',                re: '([A-Za-z])' },
    { name: 'wildcard',            re: '(\\.)'      },
    { name: 'kleene',              re: '(\\*)'      },
    { name: 'maybe',               re: '(\\?)'      },
    { name: 'plus',                re: '(\\+)'      },
    { name: 'alternation',         re: '(\\|)'      },
    { name: 'group_start',         re: '(\\()'      },
    { name: 'group_end',           re: '(\\))'      },
    { name: 'negated_class_start', re: '(\\[\\^)'   },
    { name: 'class_start',         re: '(\\[)'      },
    { name: 'class_end',           re: '(\\])'      },
    { name: 'negate_class',        re: '(\\^)'      },
    { name: 'back_ref',            re: '\\\\(\\d+)' }
  ]);

  [ '.*SE.*UE.*',
    '.*LR.*RL.*',
    '.*OXR.*',
    '([^EMC]|EM)*',
    '(HHX|[^HX])*',
    '.*PRR.*DDC.*',
    '.*',
    '[AM]*CM(RC)*R?',
    '([^MC]|MM|CC)*',
    '(E|CR|MN)*',<commit_msg>Remove unnecessary "negate_class" token<commit_after>/*
 * stupid-regex-parser
 * https://github.com/tJener/stupid-regex-parser
 *
 * Copyright (c) 2013 <NAME>
 * Licensed under the MIT license.
 */

'use strict';

var requirejs = require('requirejs');

requirejs.config({
  baseUrl: 'lib',
  nodeRequire: require
});

requirejs([ 'lexer' ], function( Lexer ) {
  var lexer = new Lexer();
  lexer.setDefinitions([
    { name: 'char',                re: '([A-Za-z])' },
    { name: 'wildcard',            re: '(\\.)'      },
    { name: 'kleene',              re: '(\\*)'      },
    { name: 'maybe',               re: '(\\?)'      },
    { name: 'plus',                re: '(\\+)'      },
    { name: 'alternation',         re: '(\\|)'      },
    { name: 'group_start',         re: '(\\()'      },
    { name: 'group_end',           re: '(\\))'      },
    { name: 'negated_class_start', re: '(\\[\\^)'   },
    { name: 'class_start',         re: '(\\[)'      },
    { name: 'class_end',           re: '(\\])'      },
    { name: 'back_ref',            re: '\\\\(\\d+)' }
  ]);

  [ '.*SE.*UE.*',
    '.*LR.*RL.*',
    '.*OXR.*',
    '([^EMC]|EM)*',
    '(HHX|[^HX])*',
    '.*PRR.*DDC.*',
    '.*',
    '[AM]*CM(RC)*R?',
    '([^MC]|MM|CC)*',
    '(E|CR|MN)*',
{'fraction_non_alphanumeric': 0.2745789267528398, 'fraction_numerical': 0.003133568350959655, 'mean_word_length': 1.6940928270042195, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1926498', 'n_tokens_mistral': 1006, 'n_tokens_neox': 966, 'n_words': 161}