in reply to Re: Re: Using undefined back-references?
in thread Using undefined back-references?
How about
((?:\s+[^>]*)?)\s+ # Optional assorted crud
? The capturing () is not marked with ? (or *) so it won't be undef, but the non-capturing (?:) is marked with ?, so it can fail to match: in that case the () saves an empty string, not undef.
--
|
|---|