masken
(MM club member)
2003-09-10 02:45 PM
Regular expressions support

It would be really handy to have regular expressions support in INSTR() & INSTRREV() for example, or perhaps even better, to have a separate RegEx() function that could then be combined with any function or code in a script.

Examples of regular expressions can be found here (posted by kdyer a while ago).


LonkeroAdministrator
(KiX Master Guru)
2003-09-10 02:54 PM
Re: Regular expressions support

I hardly use regExp but still must agree, it might be usefull.

btw, this is kinda fresh update on the request found in:
http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=4;t=000132


Howard Bullock
(KiX Supporter)
2003-09-10 03:49 PM
Re: Regular expressions support

I have several posts on using Regular Expressions in KiXtart. In fact I submitted a KixGolf solution using them.

[edit] I have some rough UDFs written also, but have not had time to polish them. [/edit]

[ 10. September 2003, 15:52: Message edited by: Howard Bullock ]


LonkeroAdministrator
(KiX Master Guru)
2003-09-10 04:03 PM
Re: Regular expressions support

IIRC, you used com-object in that golf, no?

Howard Bullock
(KiX Supporter)
2003-09-10 04:07 PM
Re: Regular expressions support

WSH COM... Since KiXtart does not include a RegEx engine, that would be the only alternative. Not a bad solution if one is trying to keep KiXtart lean and mean.

I will post the rough UDFs for comments in another thread.


masken
(MM club member)
2005-04-09 05:06 PM
Re: Regular expressions support

This is still highly wanted!

Howard's RegEx VBS-function UDF just made it possible for me to in a very neatly way, with minimal amount of code perform a complex search within over 2000 text files!