Glossary Term
get_tag_regex()
3 tags
1 category
get_tag_regex() — Returns RegEx body to liberally match an opening HTML tag. Matches an opening HTML tag that: 1. Is self-closing or 2. Has no body but has a closing tag of the same name or 3. Contains a body and a closing tag of the same name Note: this RegEx does not balance inner tags and does not attempt to produce valid HTML
Inputs: $tag (string): An HTML tag name. Example: ‘video’.
Returns string: Tag RegEx.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
