Commit 416a052a authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

изменена сторонняя библиотека xregexp, поправлены вызовы методов из этой...

изменена сторонняя библиотека xregexp, поправлены вызовы методов из этой библиотеки. для работы НЕОБХОДИМО ОБНОВИТЬ МЕНЮ

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67980 954022d7-b5bf-4e40-9824-e11837661b57
parent 2b1e038f
...@@ -1045,8 +1045,8 @@ parserHelper.prototype.is3DRef = function ( formula, start_pos ) { ...@@ -1045,8 +1045,8 @@ parserHelper.prototype.is3DRef = function ( formula, start_pos ) {
this._reset(); this._reset();
} }
var subSTR = formula.substring( start_pos ); var subSTR = formula.substring( start_pos ),
var match = rx_ref3D_quoted.xexec( subSTR ) || rx_ref3D_non_quoted.xexec( subSTR ); match = XRegExp.exec( subSTR, rx_ref3D_quoted ) || XRegExp.exec( subSTR, rx_ref3D_non_quoted );
if (match != null) { if (match != null) {
this.pCurrPos += match[0].length; this.pCurrPos += match[0].length;
...@@ -1175,8 +1175,8 @@ parserHelper.prototype.isName = function ( formula, start_pos, wb, ws ) { ...@@ -1175,8 +1175,8 @@ parserHelper.prototype.isName = function ( formula, start_pos, wb, ws ) {
this._reset(); this._reset();
} }
var subSTR = formula.substring( start_pos ); var subSTR = formula.substring( start_pos ),
var match = rx_name.xexec( subSTR ); match = XRegExp.exec( subSTR, rx_name );
if (match != null) { if (match != null) {
var name = match["name"]; var name = match["name"];
......
...@@ -618,7 +618,7 @@ Complex.prototype = { ...@@ -618,7 +618,7 @@ Complex.prototype = {
return c == 'i' || c == 'j'; return c == 'i' || c == 'j';
}, },
parseComplexStr:function ( s ) { parseComplexStr:function ( s ) {
var match = rg_complex_number.xexec( s ), r, i, suf; var match = XRegExp.exec( s, rg_complex_number ), r, i, suf;
if ( match ) { if ( match ) {
r = match["real"]; r = match["real"];
i = match["img"]; i = match["img"];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment