[PDK-Beta] Filter_Build Alpha1
by Howard A. Bullock other posts by this author
Jul 8 2004 11:04AM messages near this date
view in the new Beta List Site
FW: Re: [PDK-Beta] Filter_Build Alpha1
|
[PDK-Beta] Filter_Build Alpha1 available for download
Just looked at the Filter_Builder. It seems that the functionality only
selects entire lines. Is it possible to only select a portion of a line?
When selecting "matching" and entering a Regex
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} for an IP address the program properly
selects all the lines in the input file that contain an IP address. Wrapping
the Regex in Parens as if to capture data the IP address in the output is
then underlined. What is the meaning of the underline.?
If the desire output is only to be the IP address, is there a better way
than:
Select lines: matching, \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
Replace regEx: ^.*?(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}).*$ with $1
This is an interesting program that shares some similarities with the RegEx
toolkit in Komodo. Definitely, would help the people that want a quick
result and desire quick feedback on their efforts to filter text files or
logs. I see it being used for one-off requests or helping in prototyping
filter code for a larger program.
I will be showing it to a co-worker tomorrow that does more work in an area
that is more applicable to the abilities of this program.
_______________________________________________
PDK-Beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/pdk-beta
|