Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with strtran()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00414505
Message ID:
00415171
Views:
24
>>I think for purposes here it will be easier to just clean up the rtf codes. They seem to be unneccassary anyway as I took out a bunch and it didn't seem to change the appearance of the document.
>>
>>I did look into that RegExp object and it seems pretty straightforward and easy to use. I do have one question though. When you talk about a "pattern identified by a regular expression" are you talking about a fixed string. Like say "CEOTitle" or "CompanyName". Or could the ReqExp object be used to parse out say... URL's from a document where the URL's could be different from each other but follow some set of rules.
>
>A regular expression can be far more than a simple string match; it can include simple or complex wildcarding, matches of restricted character sets, patterns and a great deal more. I posted a message a while ago that used a single regular expression to replace a multi-line UDF used to validate a patterned string, and offered significantly greater flexibility and adaptability using it. Regular expressions are widely used by many comand line tools like Perl and languages like Java, and represent a widely-accepted standard in their own right.


That's what I thought. Let me ask you this. Is there a standard syntax for regular expressions. I see the RegExp object has some info on building expressions. Is this a standard? If so are there regular expressions already built for common things like URL's. If not are there regular expressions already built for the RegExp object.

Seems like there should be a library of some of these somewhere.
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform