diff options
author | Camil Staps | 2015-05-08 13:31:45 +0300 |
---|---|---|
committer | Camil Staps | 2015-05-08 13:31:45 +0300 |
commit | 5b4b1df0e8752fb5fdf8f2d3b972a0fa183426f6 (patch) | |
tree | ebf32b32752f8a7db3f579595eae6a1dc84e3f34 | |
parent | Demo (diff) |
Bugfix
-rw-r--r-- | coqCounter.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coqCounter.js b/coqCounter.js index 1f81915..69b1bac 100644 --- a/coqCounter.js +++ b/coqCounter.js @@ -25,7 +25,7 @@ (function($){ $.fn.coqCounter = function(output) { $(this).change(function(){ - var regex = /(?:^|\n)([a-zA-Z_'0-9]+)/g; + var regex = /(?:^|\n)([a-z][a-zA-Z_']*)/g; var value = $(this).val(); var matches = [], i = 0; |