--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote:
>
> > http://groups.google.com/group/ppro-projects/web/RegexDraft4.zip
> > 
> >  Of course it need not be included in the install or
> > have aliased functions to operate. Just hoped you might
> > consider it when the time comes.

> 
>  I can do a new version of install with new plugin,
> but I am not sure I see the point of aliasing all the
> new function Its a bit of work for me (code, testing,
> help, ...) and kind of contradicts the idea of having
> plugins.

> 
> So why did I alias the original ones?  Some thought re's should be 
> built in.  I did originally go with the x[] notation, but decided  
> that was not that intuitive.  Also, my personal preference is that 
> functions return their main result and that error flags go elsewhere 
> and that is not the route the regex implementers went.  Neither is 
> right or wrong, its just a preference.  So I decided to create 
> aliased functions that worked the way I preferred.
> 
> OTOH, the name "regex" is hardcoded into PowerPro.  If you prefer 
> something shorter like "re", I could consider that.
>

Hi again,

There was a question that came up recently, is there a way we can
access the string set by exec.setregex("sep=c"). Is that an
undocumented pprosepvalue or something? If so, we could use it,
otherwise we will add another variable/ini value.

Concerning the name of the plugin, we started gettting "register sig
failed in re" messages when Alan added handle support. At that point
we stopped loading both old and new regex plugins and renamed the test
plugin "regex", and all was well (previously had been named "regexTest").

We were just recently debating whether or not it should be possible
(depending on whether or not a separate variable or vector is named in
arguments) for all of the primary new functions to return a string
result (e.g., a string with replacements or a concatenated list of
matches or formatted matches, or the matched string for pcre_match.
Helps to know what folks prefer (comments anyone?). Also we have the
possiblity of merging pcre_match_all and pcre_extract into one
function that behaves differently depending on which arguments are
given (specifically whether the user gives a format/replace string).

Regards,
Sheri


Reply via email to