Subversion Repositories wimsdev

Rev

Rev 10181 | Blame | Compare with Previous | Last modification | View Log | RSS feed

text1=toto tata,tutu\
titi tyty, tttt\
zzz ttt

text2=[aa,b],cc,dd
text3={aa,b},cc,dd
accent=éteadafd

list1=toto,tata,tutu, titi
list2=toto,tata\
tutu\
titi

list3=45;89
line=!line 2 of $text1
item=!item 1 of $text1
word1=!word 2 of $text1
word2=!word 5 of $text1
accent1=!char 1 of $accent
accent2=!char 1 to 5 of $accent
accent3=!deaccent éaeùî
accent4=!reaccent de'ae`u'i^u^E'a'

parent1=!item 2 of $text2
parent2=!item 1 of $text3

position1=!positionof item toto in $list1
position2=!positionof char o in $list1
position3=!positionof word titi in $list1
position4=!positionof line titi in $list2

detag1=!detag <a>aaa</a> <div><p> essai </p></div>,

select1=!select $text1 where toto isin column 1
select2=!select $text1 where column 2=tttt

getopt1=!getopt a in a=aaa b=ccc
getopt2=!getopt b in a=aaa b=ccc
getopt3=!getopt a in a=(aaa bbb) dddd b=ccc
getopt4=!getopt a in a={aaa bbb} dddd b=ccc
getopt5=!getopt a in a="aaa bbb" dddd b=ccc
getopt6=!getopt a in a=[aaa bbb] dddd b=ccc

nonempty1=!nonempty items aa,,bb
nonempty2=!nonempty lines aa,\
\
,bb

nonempty3=!nonempty rows aa,;;bb

declosing1=!declosing [brack1,brack2]
declosing2=!declosing {acco1,acco2}
declosing3=!declosing (par1,par2)
declosing4=!declosing ({acolade,parent})
declosing4=!declosing (non balance {acolade,parent))

testline1=!items2lines $list1
testline2=!items2words $list1
testline3=!lines2items $list2
testline4=!lines2words $list2
testline5=!words2lines $list1
testline6=!words2items $list1
testline7=!lines2rows $list2
testline8=!rows2lines $list3

checkpar1=!checkallpar ({a}{(b)})
checkpar2=!checkallpar {([{a}{(b)}])\
}
checkpar3=!checkallpar ({a}{[(c){d}]})
checkpar4=!checkallpar ({a}{(b)})}
checkpar5=!checkallpar ([{a}{(b)}]\
}


vartest=$line\
$item\
$word1\
$word2\
$accent1\
$accent2\
$accent3\
$accent4\
$parent1\
$parent2\
$position1\
$position2\
$position3\
$position4\
$detag1\
$select1\
$select2\
$getopt1\
$getopt2\
$getopt3\
$getopt4\
$getopt5\
$getopt6\
$nonempty1\
$nonempty2\
$nonempty3\
$declosing1\
$declosing2\
$declosing3\
$declosing4\
$testline1\
$testline2\
$testline3\
$testline4\
$testline5\
$testline6\
$testline\
$testline8\
\
$checkpar1\
$checkpar2\
$checkpar3\
$checkpar4\
$checkpar5