Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using REGEXP activeX
Message
From
28/03/2017 10:04:16
 
 
To
27/03/2017 20:27:12
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01649405
Message ID:
01649435
Views:
47
>Hi Antonio, last year I posted a tool to help working regular expressions with vfp you may like to test:
>( Check attached image )
>
>It allows to paste sample text , write & test regular expressions and save for later reference.
>This version uses the rft control and solves for most cases the vb regex lack of functionallity to show sub matches position.
>
>Note: This one works ok for most cases, but was a "cow-boy coded" version.. I already have a new one that is just a class that encapsulate the functionallity - no gui- that also solves getting proper matching positions for regex "aa(a)" testing "aaa" like exposed on http://stackoverflow.com/questions/27110305/how-to-get-the-position-of-a-javascript-regexp-sub-match that I hope to share soon.
>
>You can download at:
>https://vfpx.codeplex.com/wikipage?title=VfpRegexTool&referringTitle=Home

Very nice work, Marco (as usual). It's great to have a tool such as this to test for patterns targeted at VFP use.

If you have some improvement plans for this, you might consider the inclusion of a template-base "code generator" (or generators...), producing the VFP commands to create the object, set the options, test the pattern, verify matches, and stuff like that.
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform