Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically find Return within WITH / ENDWITH
Message
From
23/06/2008 23:32:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01326207
Message ID:
01326252
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform