edits: the quotes thing...
Bob Stockler
bob at trebor.iglou.com
Thu Sep 1 14:12:24 PDT 2005
Mark Luljak wrote (on Thu, Sep 01, 2005 at 11:46:19AM -0400):
| Whereas (and I'll stick my neck out here too), if fP bothered to support
| the power of regex (and especially extended regex and even perl extended
| regex), you could get it down to something like:
|
| $var = s/(?:[^\w\d]|_)//g;
|
| It doesn't get much simpler than that. (For those that think I'm on dialup
| and the next line should have been NO CARRIER, that is perfectly valid
| syntax in perl extended regex for what John described doing.)
Regular Expressions are one thing I really miss having in filePro.
That's why I wrote a program (Eureka) that writes a KornShell
script, and a GAWK program it executes, to be able to search
filePro key files and use RE's to find something I'm looking
for (the tests may be made on the whole record or on individual
fields).
Bob
--
Bob Stockler -+-+- bob at trebor.iglou.com -+-+- http://members.iglou.com/trebor
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).
More information about the Filepro-list
mailing list