Direktori : /home/redrockmedical/public_html/wp-includes/
Upload File :
Current File : /home/redrockmedical/public_html/wp-includes/class-wp-matchesmapregex.php

<?php
/**
 * WP_MatchesMapRegex helper class
 *
 * @package WordPress
 * @since 4.7.0
 */

/**
 * Helper class to remove the need to use eval to replace $matches[] in query strings.
 *
 * @since 2.9.0
 */
class WP_MatchesMapRegex {
	/**
	 * store for matches
	 *
	 * @var array
	 */
	private $_matches;

	/**
	 * store for mapping result
	 *
	 * @var string
	 */
	public $output;

	/**
	 * subject to perform mapping on (query string containing $matches[] references
	 *
	 * @var string
	 */
	private $_subject;

	/**
	 * regexp pattern to match $matches[] references
	 *
	 * @var string
	 */
	public $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // magic number

	/**
	 * constructor
	 *
	 * @param string $subject subject if regex
	 * @param array  $matches data to use in map
	 */
	public function __construct($subject, $matches) {
		$this->_subject = $subject;
		$this->_matches = $matches;
		$this->output = $this->_map();
	}

	/**
	 * Substitute substring matches in subject.
	 *
	 * static helper function to ease use
	 *
	 * @static
	 *
	 * @param string $subject subject
	 * @param array  $matches data used for substitution
	 * @return string
	 */
	public static function apply($subject, $matches) {
		$oSelf = new WP_MatchesMapRegex($subject, $matches);
		return $oSelf->output;
	}

	/**
	 * do the actual mapping
	 *
	 * @return string
	 */
	private function _map() {
		$callback = array($this, 'callback');
		return preg_replace_callback($this->_pattern, $callback, $this->_subject);
	}

	/**
	 * preg_replace_callback hook
	 *
	 * @param  array $matches preg_replace regexp matches
	 * @return string
	 */
	public function callback($matches) {
		$index = intval(substr($matches[0], 9, -1));
		return ( isset( $this->_matches[$index] ) ? urlencode($this->_matches[$index]) : '' );
	}
}
Las Vegas Doctors - OB/GYN - Family Practice | Red Rock Medical Group Las Vegas Doctors - OB/GYN - Family Practice | Red Rock Medical Group
Dropdown button for navigation mobile view
(702) 877-9514

5701 W. Charleston Blvd, #100
Las Vegas, Nevada 89146

Thank you for Visiting

Red Rock Medical Group – Eldorado Medical Center

The Sleep Center of Nevada

          Red Rock Medical Group                     &                       Eldorado Medical Center

5701 W. Charleston Blvd. Suite 100                                        1905 Civic Center Drive

                   Las Vegas, NV 89146                                               North Las Vegas, NV 89030

            (702) 877-9514                                                          (702) 649-3736

 

We welcome you to our Las Vegas and North Las Vegas medical center locations. You can receive care for the entire family as we offer a range of services to help you get and stay healthy. Come see us for family practice services, pediatric medical care, sleep center services, OB/GYN, diabetes care, and much more.

Explore our list of medical services and discover how we can provide you with the care you want for you and your family. Please call (702) 877-9514 to learn more and to schedule an appointment.

We offer a wide range of services to keep you healthy and breathing easy. We may have the service for you.

View More

Planning a visit but not sure of what forms to fill out? Visit our forms page and fill out the forms as needed.

View More

If you're interested in publications we recommend. Visit our WebMD section for the latest articles.

View More

It's easy to reach us by calling or emailing. Visit the contact us page for details or to use our online form.

View More

We provide numerous services for you to consider.

Our services include but are not limited to :

  • Allergy Testing
  • Arterial Blood Gas Testing
  • EEG
  • EKG
  • EMG/NCS
  • ENG
  • Full Service Laboratory
  • I.N.S. Physicals
  • Nuclear Medicine Diagnostics
  • OB/GYN
  • Pulmonary Function Testing
  • Stress Test
  • Ultrasound/Echocardiogram
  • X-Ray
Translate »