Search / replace

Jacques Hausser jacques.hausser at unil.ch
Sat Feb 20 06:24:37 EST 2010


Le 20 févr. 2010 à 10:28, Igor de Oliveira Couto a écrit :

> 
> I came across problems with matchChunk, too, but for a different reason. I wanted to use it in a loop, so I could delete the required parts of each match. Unfortunately, even though it was returning 'true' to my regex - it *was* finding matches - it refused to populate my 'positionvars', so it was useless. 
> 

if I remember well, to get the 'positionvars' populated, they must be initialized before (put 0 in...) and the regex must be in parentheses. 

Jacques
******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list