\A[.\r\n]*?\=3a |[.\r\n]*?\=3a |[.\r\n]*?\Z\=3a |/\*[\n.]*?(\Z|\*/)\=2e \; block comment |/(\\/|[^/\r\n])+/\=b \; regex (non-empty!) |"(\\.|.)*?($|")\=9 \; match double quotes |'(\\.|.)*?'\=9 \; match single quotes |//.*\=2e \; line comment |([\*&!]\b|[!=;+\-\*\/%\?\.&|<>])\=3 \; symbols \; now some keywords |\b(if|else|while|do|for|switch|case|return|default|break|continue|this|goto|new|function|true|false|null|NULL|try|catch|throw|finally|in|typeof|instanceof|console|class|delete)\b\=1 |\b(var|Object|Array)\b\=41 \; types |\b\d+\.\d+([Ee][\+\-]?\d+|)\b\=8 \; floating point numbers |\b(\d[\l\d]*)\b\=7 \; integers |\b\w+\(\<\=1 \; functions |\b\<\.\l\w*\=2 \; members |\b\l\w*\.\<\=2 \; objects |\b[A-Z0-9_]+\b\=46 \; pretend-they're-constants |[\w+]\=2 \; variables