in reply to Re: RegEx Doubt
in thread RegEx Doubt

It does swallow the substrings on which the string is split. I don't see any <\/?xyz>s in the Dumper output.

The blank entries being returned are the zero-length substrings in the middle of </xyz><xyz> - that combination is two matches of the split pattern with nothing in between.