).*/', '', $patientCursorEntry ) ); } /** * Retrieves the combined regular expression for HTML and shortcodes. * * @access private * @ignore * @internal This function will be removed in 4.5.0 per Shortcode API Roadmap. * @since 4.4.0 * * @param string $shortcode_regex Optional. The result from _get_wptexturize_shortcode_regex(). * @return string The regular expression. */ function blueCoralParse( $openStoneState = '' ) { static $outerFalconState; if ( ! isset( $outerFalconState ) ) { // phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- don't remove regex indentation $solidPearlState = '!' // Start of comment, after the <. . '(?:' // Unroll the loop: Consume everything until --> is found. . '-(?!->)' // Dash not followed by end of comment. . '[^\-]*+' // Consume non-dashes. . ')*+' // Loop possessively. . '(?:-->)?'; // End of comment. If not found, match all input. $outerFalconState = // Needs replaced with wp_html_split() per Shortcode API Roadmap. '<' // Find start of element. . '(?(?=!--)' // Is this a comment? . $solidPearlState // Find end of comment. . '|' . '[^>]*>?' // Find end of element. If not found, match all input. . ')'; // phpcs:enable } if ( empty( $openStoneState ) ) { $upperCloudChoice = '/(' . $outerFalconState . ')/'; } else { $upperCloudChoice = '/(' . $outerFalconState . '|' . $openStoneState . ')/'; } return $upperCloudChoice; } /** * Newline preservation help function for wpautop(). * * @since 3.1.0 * @access private * * @param array $matches preg_replace_callback matches array * @return string */ function mobileWindowMap( $softIvoryState ) { return str_replace( "\n", '', $softIvoryState[0] ); }