--- In [email protected], "Sheri" <sheri...@...> wrote:
 
> Had a problem with regex.pcreQuoteMeta.

What problem?
 
> Would it not be simpler for plugin to declare global regex_status when
> the regex plugin in first loaded, and after that not attempt to
> determine existence of the variable? User could declare it or not as
> local, static or global, and regex could let PowerPro decide which it
> is when regex sets it.

On first use of a plugin service, I try to detect a global or local.
If I find neither, and I'm in a script, I try for a static.  If none
of those are found, I declare a local if I'm in a script, a global
if not.

I could instead just do nothing, and leave it up to user to declare
regex_status every time and always.

 


Reply via email to