From d8cafdb00216c4b6231baddd2c6b53d4e2a9ef32 Mon Sep 17 00:00:00 2001 From: Sarbbottam Bandyopadhyay Date: Thu, 31 Mar 2016 18:10:54 -0700 Subject: [PATCH] fixed regex `/[a-z]i/` to `/[a-z]/i` fixed #25 --- super-tiny-compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super-tiny-compiler.js b/super-tiny-compiler.js index 953b83d..d7bd38a 100644 --- a/super-tiny-compiler.js +++ b/super-tiny-compiler.js @@ -446,7 +446,7 @@ function tokenizer(input) { // ^^^ // Name token // - var LETTERS = /[a-z]i/; + var LETTERS = /[a-z]/i; if (LETTERS.test(char)) { var value = '';