Returns RegEx body to liberally match an opening HTML tag.
Description
Matches an opening HTML tag that: <ol> <li>Is self-closing or</li> <li>Has no body but has a closing tag of the same name or</li> <li>Contains a body and a closing tag of the same name</li> </ol> Note: this RegEx does not balance inner tags and does not attempt to produce valid HTML
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 7.0.4 tag, from src/wp-includes/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.