X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7fc0c9f2c94f090d9f743798cd9ef835757dcbc2..0a2b0284b8fcb5a613f1cc3da59fc637d3033363:/forum/skins/default/media/js/osqa.main.js 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() {