Permit formula in OOCalc
This commit is contained in:
parent
caf556a64b
commit
d704230240
1 changed files with 3 additions and 2 deletions
|
|
@ -211,13 +211,13 @@ class Document
|
|||
// compute the regex
|
||||
if ( $p_type=='OOo')
|
||||
{
|
||||
$regex="<<[A-Z]+_*[A-Z]*_*[A-Z]*_*[A-Z]*_*[0-9]*>>";
|
||||
$regex="=*<<[A-Z]+_*[A-Z]*_*[A-Z]*_*[A-Z]*_*[0-9]*>>";
|
||||
$lt="<";
|
||||
$gt=">";
|
||||
}
|
||||
else
|
||||
{
|
||||
$regex="<<[A-Z]+_*[A-Z]*_*[A-Z]*_*[A-Z]*_*[0-9]*>>";
|
||||
$regex="=*<<[A-Z]+_*[A-Z]*_*[A-Z]*_*[A-Z]*_*[0-9]*>>";
|
||||
$lt="<";
|
||||
$gt=">";
|
||||
}
|
||||
|
|
@ -471,6 +471,7 @@ class Document
|
|||
function Replace($p_tag)
|
||||
{
|
||||
$p_tag=strtoupper($p_tag);
|
||||
$p_tag=str_replace('=','',$p_tag);
|
||||
$r="Tag inconnu";
|
||||
static $counter=0;
|
||||
switch ($p_tag)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue