aboutsummaryrefslogtreecommitdiff
path: root/coqCounter.js
diff options
context:
space:
mode:
authorCamil Staps2015-05-08 13:31:45 +0300
committerCamil Staps2015-05-08 13:31:45 +0300
commit5b4b1df0e8752fb5fdf8f2d3b972a0fa183426f6 (patch)
treeebf32b32752f8a7db3f579595eae6a1dc84e3f34 /coqCounter.js
parentDemo (diff)
Bugfix
Diffstat (limited to 'coqCounter.js')
-rw-r--r--coqCounter.js2
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;