WordPress at a glance
function is not described

get_shortcode_atts_regex() WP 4.4.0

Retrieve the shortcode attributes regex.

No Hooks.

Return

String. The shortcode attribute regular expression

Usage

get_shortcode_atts_regex();

Code of get shortcode atts regex: wp-includes/shortcodes.php VER 5.0.3

<?php
function get_shortcode_atts_regex() {
	return '/([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*\'([^\']*)\'(?:\s|$)|([\w-]+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|\'([^\']*)\'(?:\s|$)|(\S+)(?:\s|$)/';
}