PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/tiktechtok.org/wp-content/plugins/mailpoet/vendor-prefixed/symfony/finder/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/tiktechtok.org/wp-content/plugins/mailpoet/vendor-prefixed/symfony/finder/Glob.php

<?php
namespace MailPoetVendor\Symfony\Component\Finder;
if (!defined('ABSPATH')) exit;
class Glob
{
 public static function toRegex($glob, $strictLeadingDot = \true, $strictWildcardSlash = \true, $delimiter = '#')
 {
 $firstByte = \true;
 $escaping = \false;
 $inCurlies = 0;
 $regex = '';
 $sizeGlob = \strlen($glob);
 for ($i = 0; $i < $sizeGlob; ++$i) {
 $car = $glob[$i];
 if ($firstByte && $strictLeadingDot && '.' !== $car) {
 $regex .= '(?=[^\\.])';
 }
 $firstByte = '/' === $car;
 if ($firstByte && $strictWildcardSlash && isset($glob[$i + 2]) && '**' === $glob[$i + 1] . $glob[$i + 2] && (!isset($glob[$i + 3]) || '/' === $glob[$i + 3])) {
 $car = '[^/]++/';
 if (!isset($glob[$i + 3])) {
 $car .= '?';
 }
 if ($strictLeadingDot) {
 $car = '(?=[^\\.])' . $car;
 }
 $car = '/(?:' . $car . ')*';
 $i += 2 + isset($glob[$i + 3]);
 if ('/' === $delimiter) {
 $car = \str_replace('/', '\\/', $car);
 }
 }
 if ($delimiter === $car || '.' === $car || '(' === $car || ')' === $car || '|' === $car || '+' === $car || '^' === $car || '$' === $car) {
 $regex .= "\\{$car}";
 } elseif ('*' === $car) {
 $regex .= $escaping ? '\\*' : ($strictWildcardSlash ? '[^/]*' : '.*');
 } elseif ('?' === $car) {
 $regex .= $escaping ? '\\?' : ($strictWildcardSlash ? '[^/]' : '.');
 } elseif ('{' === $car) {
 $regex .= $escaping ? '\\{' : '(';
 if (!$escaping) {
 ++$inCurlies;
 }
 } elseif ('}' === $car && $inCurlies) {
 $regex .= $escaping ? '}' : ')';
 if (!$escaping) {
 --$inCurlies;
 }
 } elseif (',' === $car && $inCurlies) {
 $regex .= $escaping ? ',' : '|';
 } elseif ('\\' === $car) {
 if ($escaping) {
 $regex .= '\\\\';
 $escaping = \false;
 } else {
 $escaping = \true;
 }
 continue;
 } else {
 $regex .= $car;
 }
 $escaping = \false;
 }
 return $delimiter . '^' . $regex . '$' . $delimiter;
 }
}