aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2015-05-09 16:48:05 +0300
committerCamil Staps2015-05-09 16:48:05 +0300
commitb0e68cbcd7f77044e76b1a5600db7bdaa1082140 (patch)
treef8572ead0409e0ef3550e3e7424343de97ac701e
parentBugfix (diff)
bugfix
-rw-r--r--coqCounter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/coqCounter.js b/coqCounter.js
index be06ec4..c3fe612 100644
--- a/coqCounter.js
+++ b/coqCounter.js
@@ -25,7 +25,7 @@
(function($){
$.fn.coqCounter = function(output) {
$(this).change(function(){
- var regex = /(?:^|\n)([a-z][a-zA-Z_']*|LEM)/g;
+ var regex = /(?:^|\n)([a-z][a-zA-Z0-9_']*|LEM)/g;
var value = $(this).val();
var matches = [], i = 0;