--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> Like PCRE_NOTEMPTY, PCRE_NOTEMPTY_ATSTART is an exec option only.

Okay, fixed in 

regexPlugin209_091022.zip in
http://tech.groups.yahoo.com/group/power-pro/sfupld?path=/0_TEMP_/AlansPluginProvisional/
 
> I tried using "notempty_atstart" with the test version posted, and got a 
> plugin error stating the option is incomprehensible. Did you use a different 
> spelling or would the message get generated just because the option got 
> wrongly identified as a compile option?

Dunno.  Seems to buy it now.

> Have you looked into incorporating use of PCRE_NOTEMPTY_ATSTART during 
> processing of multiple matches yet?

I hadn't, but have now.

I compared pcredemo.c for 8.0 vs 7.8  

Only difference is the one line

    options = PCRE_NOTEMPTY_ATSTART | PCRE_ANCHORED;
vs
    options = PCRE_NOTEMPTY | PCRE_ANCHORED;

I have a similar line in my code.  So I changed it. (I remember that block of 
code.  Shudder.)  So it now uses PCRE_NOTEMPTY_ATSTART instead of 
PCRE_NOTEMPTY, logic remains as is was.

Out of general interest, would a user ever want to specify "notempty_atstart"?  
Seems to me only useful in above situation.







 
> See the Introduction in the updated regex.chm help file and its link into the 
> updated pcre.chm file.
> 
> > I think I fixed H.
> 
> Yes, it now works in an option cluster. Personally I think we shouldn't make 
> any more single letter option variations.
> 
> Regards,
> Sheri
>


Reply via email to