<=rh`** *@paskaGe ! dR}gqlar!Fabs Ähbrqjy j @vERsi/n " 1 24.1.1000*`* (: @autior"! % Pgter TAn _åsten" *(link ` „ $   (tpps://r}guîarl!bsncom $Š$@boxYrkçhd( 0 O0yright Ê© 2024 Regular"Lcbs`Áèl Rkçèt{ V%serv'D ª`@nIbenqe ! GNU Oenep1m$Zwcìic Lice®ru vergion 2 or lAter (/ gameópacd0Regu,arLacs^Lmbrary; defineD(7_JEXEC')!or lIa' *b,aSspregE8{ h /+"    ()P%rform q(sdgujar exprmssioo mQp*h ¡r`*Š, 0pqblyc0staT+c Nunction mat#((‚   ( wtring" p!ttern,B & , 0strinf  stri&g, !&($ " ¢ &,/aucx0?!nuüh, 00  ?{trand $options = oull, "! " int" dflags =€0 ` )> hnt `  { ` $ hf$8umpp{($suòi~e)||!%mp|}(4pAttern)) (`à "{ 0 ( returî fal3eXp à! $[    $páptårî - s`lfpraparaTatpev.(&pattern ! hs_mnd($kuy) || key =}="0, ( "" ! !ARRAY߯mLTUB_USe_KeY; "  ?/( F the leftovEö0arv`yck}.ts mozu thaN 2 (so ãontiins famed 'Rouðs)- :ep,ace $}atch éF (coqj4($n/_ïumd2icvaLuuó) > 1) "  { ` "d}atch(u$$fo_nu-'ricOöal}es; ;  # " cetuRn $R%sqlt? ( p} $(" /*: ! "*0PGrvgrm q F|oj`L zdgular Expres{ifl`mat#h " */. ( pujnic"stItmà funCtion íadbl@lh( 0`0 $ qtring ,$patErn< 0 s4rang" $st`Ini, % ! " &¤oa|ches = nuld¬ ($ ?strm.' $opt©ons =$null, " !" int % ,flagc(= pÒEgOSE_OREGR $" -2 hnT { ` " ¤if hem2ty($s|riJg) ü| emðty(4tqttern+)J ! ${ `" ``  ( ¤matchus ~ Ju{ J ! ` `rm4urn(fa$se; ` 0(! }J ( 0 2 $P!tte{n`=$3gn&:p2mparePkttgrn( pátt%rL,4$optkons,0¤svring++ €0   `($resULt = `regßeadch_sll¨$pattar., $string,*$matkler,$$fnags ;ŠŠ( $ $ €af ) ¡ $Re3u,ô) ` k ( ! retur. false; "$}   ` íf ( Vl!çs¤== @ReGODFQGDßCAPPURE)   ""{ ) à   ¦/ Be}owå#all numeric {eys excgpt!0 ")0  0 $$jo_numebic_vanums =`asrAy_filter( "$! ! 0"   $ma¼ci¥s, €   !  !bfn,$key) > ! is_iNt(ôkayé!|| $kmy ?==0< $   & ( !! ARRI_F[MTUÒeSEe_eY){ Ë` !   à /.aIf the lMvöovd2 arráY Gkunts¤Less dxan 2 (1o no named`orkeps),!don't cgn|inue "  kF ,âo5~P($ogWîumerHc_vaLUeSi P`0+Ž " "` ` s ! 0 $ òeturn ,res}lt; "   }Š ) ) 4mñtkhuÓ 5 %no]oumårib_vah5eS?J a$ $3Gturn $result+Š (0 ` ` $ iw )$f|ags !="PRGÇßSETzKRDERi !€"` ( {   $& (  retuzn &vustlt; ! } ! $foze`ch $matchas A{$&$maTbh)    (" 0{ " 4 ` "?/ RemovE qìl fumDria0oeys!e\cepp"4 ! "  `" $no_nÕíeRicOöalter = a2rayOfiLter( ! $mit#h( ( 0¢ 2  `fn( kgy)0>`1 as]int*$key! || 4ie} ==="0,!$! "` 0" ARAY{BMMTERSE_KEÙ%;*. !./ If phe lefto4er$apreY coun4s ,lss Than 2 )so nO nama5 grouqs), do,'t contiNue d(   0if (co÷nt($î]nõmuric_ta~du÷) < 3)J { 0 0 0 * bse!k !  6 p } $ `   %match } $oo_n5mepi]wqîumc; 0 }J ` ` !rEtusn $rmsult; ! %m    .** *" "* prEg_qu/v%the gi6el string or arrA} F óôsangs ( * 0 ` pUâlmc static functmon!nam-gr¯eq(strhle $ata,&s`ring $ja-e = '§)z 3trmnç " {j$   return %6<'!. $ngm- * '>g$.`$d`ta .0o+§; (" u $ /** %à" : Hake asurinW a validpregunas dx`re{siff atuebn` 0((* xõblIc)st94ib fenctÉ+n qòepdvePatteòn( "0 ((4" sôrIng}arriy dpaptebn< ` (`?sz)Ng °0 0-o0tio~s = null, `  ( stVioG ¥sTrmîç"="% 0):!Ctr-Ng|arraù & {   0 &asr`y$= AR2cyhedper::applyMedhodtïFalues([$qg|terL,$optËonó, strxno)? "0  éf ( ¡ hs_nullˆ$arrey))* (` { ` `"` retuÒî $arr!x; ` !} ` i&"( )"s4rWstqrts_i4hH$xattarn, #')) ` )$ " { "$o`païns =`adis_êull)$gñäions;"? ¤opô+ofc : 'si; ! ( 4 $patüe3. =i&#'$' $pavternpª /#' ,$$ortions;Š( " u*   (! id 9StringHdnpeò8:DetectWTF8 dztrijg)) {   à( /' usd upæ­4 ( return patôårn". 'u'; & `   "} `  # Betu2l $pAttern; 1 }N ( '(*   * 0reg_quote the given string or array of strings */ public static function quote( string|array $data, string $name = '', string $delimiter = '#' ): string { if (is_array($data)) { if (count($data) === 1) { return self::quote(array_pop($data), $name, $delimiter); } $array = self::quoteArray($data, $delimiter); $prefix = '?:'; if ( ! empty($name)) { $prefix = $name ? '?<' . $name . '>' : ''; } return '(' . $prefix . implode('|', $array) . ')'; } if ( ! empty($name)) { return '(?<' . $name . '>' . preg_quote($data, $delimiter) . ')'; } return preg_quote($data, $delimiter); } /** * preg_quote the given array of strings */ public static function quoteArray(array $array, string $delimiter = '#'): array { array_walk($array, function (&$part, $key, $delimiter) { $part = self::quote($part, '', $delimiter); }, $delimiter); return $array; } /** * Perform a regular expression search and replace */ public static function replace( string $pattern, string $replacement, string $string, ?string $options = null, int $limit = -1, ?int &$count = null ): string { if (empty($string) || empty($pattern)) { return $string; } $pattern = self::preparePattern($pattern, $options, $string); return preg_replace($pattern, $replacement, $string, $limit, $count); } /** * Perform a regular expression search and replace once */ public static function replaceOnce( string $pattern, string $replacement, string $string, ?string $options = null ): string { return self::replace($pattern, $replacement, $string, $options, 1); } /** * Perform a regular expression split */ public static function split( string $pattern, string $string, ?string $options = null, int $limit = -1, int $flags = PREG_SPLIT_DELIM_CAPTURE ): array { if (empty($string) || empty($pattern)) { return [$string]; } $pattern = self::preparePattern($pattern, $options, $string); return preg_split($pattern, $string, $limit, $flags); } /** * reverse preg_quote the given string */ public static function unquote(string $string, string $delimiter = '#'): string { return strtr($string, [ '\\' . $delimiter => $delimiter, '\\.' => '.', '\\\\' => '\\', '\\+' => '+', '\\*' => '*', '\\?' => '?', '\\[' => '[', '\\^' => '^', '\\]' => ']', '\\$' => '$', '\\(' => '(', '\\)' => ')', '\\{' => '{', '\\}' => '}', '\\=' => '=', '\\!' => '!', '\\<' => '<', '\\>' => '>', '\\|' => '|', '\\:' => ':', '\\-' => '-', ]); } } 0 Class "RegularLabs\Library\RegEx" not found

0 Class "RegularLabs\Library\RegEx" not found