<script>


    let me = {};

    let regexes={
        string1: {reg: /"(.*?)"/g, style:"string", wrap:'"'},
        string2: {reg: /'(.*?)'/g, style:"string", wrap:"'"},
        numbers: {reg: /(\b\d+\b)/g, style:"number"},
        hex: {reg: /(\B#\w+)/g, style:"number"},
        reserved: {reg: /\b(new|var|let|if|do|function|while|switch|for|foreach|in|continue|break)(?=[^\w])/g, style:"reserved"},
        globals: {reg: /\b(document|window|Array|String|Object|Number|Math|\$)(?=[^\w])/g, style:"globals"},