From 52f39e99d1e133c07ee2f2b549a7720028bd2909 Mon Sep 17 00:00:00 2001 From: jordan Date: Sun, 27 Mar 2011 11:33:52 +0000 Subject: [PATCH] =?utf8?q?#OSQA-544,=20words=20in=20cyrillic=20should=20al?= =?utf8?q?so=20be=20counted,=20adding=20the=20=D0=90-=D0=AF=20(all=20the?= =?utf8?q?=20letters=20from=20the=20cyrillic=20alphabet)=20intervals=20int?= =?utf8?q?o=20the=20regular=20expression.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@898 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/media/js/osqa.main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/skins/default/media/js/osqa.main.js b/forum/skins/default/media/js/osqa.main.js index 147cf54..0cf354f 100644 --- a/forum/skins/default/media/js/osqa.main.js +++ b/forum/skins/default/media/js/osqa.main.js @@ -567,8 +567,8 @@ $(function() { var $previewer = $('#previewer'); var $container = $('#editor-metrics'); - var initial_whitespace_rExp = /^[^A-Za-z0-9]+/gi; - var non_alphanumerics_rExp = rExp = /[^A-Za-z0-9]+/gi; + var initial_whitespace_rExp = /^[^A-Za-zА-Яа-я0-9]+/gi; + var non_alphanumerics_rExp = rExp = /[^A-Za-zА-Яа-я0-9]+/gi; var editor_interval = null; $editor.focus(function() { -- 2.39.5