( ]+> \s* )? # Match leading tag, if there. ]+> # Match tag. (?(1)\s*) # Match a closing , if we'd matched an before. ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl