On Sat, 3 Jan 2009, NN wrote:

> Is there
> (?(DEFINE)X)
> equivalent to
> X{0}

Yes, if that is the complete regex. Also equivalent to an empty string.

No, if that is part of a larger regex that refers to any group contained 
within the DEFINE. Please read the "pcrepattern" man page for a
description of what DEFINE is used for.

Philip

-- 
Philip Hazel

-- 
## List details at http://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to