Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regular Expressions
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
00724590
Message ID:
00744748
Views:
9
Thanks George. This also clears up the mystery of Albert's original response to this when he tried unsuccessfully (because I never could figure out what he was referring to), to point me to the 'RegExp.Multiline' property. I'll look more deeply into this and other vbscript classes.

Alan

>>Ok, I have another little niggling one that tripped me up (thanks to Sergey for straightening me out). The help for regular expressions in VFP8 Beta, for 2 of the symbols ('^' and '$') says:
>>
>>
>>^ Matches the beginning of the line.
>>$ Matches the end of the line.
>>
>>
>>Ok, then, how many lines are in the following marked area:
>>
>>
>>Welcome
>>To
>>Regular
>>Expressions.
>>
>>
>>I say there are 4, and I think most normal humans would agree with me. For example, 'Regular' is at the beginning of a line.
>>
>>Not according to the Regular Expressions inner workings. There is only 1 line, and it begins with 'Welcome'.
>>
>>I suggest that MS change the above text to the following:
>>
>>
>>^ Matches the beginning of the input string.
>>$ Matches the end of the input string.
>>
>>
>>Again, tiny change, but (I think), large effect.
>>
>Alan,
>
>What no one, I believe, has mentioned is that the _regexp.vcx is simply a wrapper for the VBScript.RegExp object I wouldn't use it for two reasons. First, you add a layer of unnecessary overhead. Second, it doesn't expose all the available PEMs.
>
>I think that the documentation problem is related directly back to the documentation of the original object. While it can be confusing at times, working through it can yield some significant rewards. I have a feeling (no more than that), the problem lies with the original MSDN docs (that's why I'm copying Esther).
>
>The late Ed Rauh and I wrote about the object in the last of our 5 part series on the Windows Script Host (of which, the object is a member). You might want to take a look at it. It appeared on the VFUG newsletters (March, 2001) and is available at www.vfug.org.
>
>Further, the object is not available on all Windows platforms. The first article in the series (Sept., 2000), details the platforms and how to tell if it's available.
Previous
Reply
Map
View

Click here to load this message in the networking platform