Naomi --
You asked about the regular expression I used.
So far, I've primarily learned that I don't know as much about regular expressions as I had thought; have been learning from Craig Boyd's paper last year.
In the meantime, I'm trying out an approach using Code References (using only a simplified case of regular expressions).
Jim
>>Naomi --
>>
>>That handles the simple case, but not the messier cases with nested WITH ENDWITH. The regular expression erronously finds that the first ENDWITH matches the first WITH.
>>
>>Perhaps that are more complicated forms of regular expressions that find matching pairs like this, but I'm not aware of them.
>>
>>Thanks
>>
>
>What is your expression - curioisity like?
>
>Thanks.
Jim Nelson
Newbury Park, CA