X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fcollation%2FCollation.php;h=d67bc7eecdcecb81ae85aa9a7ef713abbf6e28ad;hp=9950a11a6f6929cb52b3c2dcf6943ca3c5d9ee0c;hb=c584722cc2e3d33edae58d46c2149063b3fc6d72;hpb=3c7c900d230dfdba161c1edc872342e0299db5a1 diff --git a/includes/collation/Collation.php b/includes/collation/Collation.php index 9950a11a6f..d67bc7eecd 100644 --- a/includes/collation/Collation.php +++ b/includes/collation/Collation.php @@ -63,9 +63,11 @@ abstract class Collation { return new CollationCkb; case 'xx-uca-et': return new CollationEt; + case 'xx-uca-fa': + return new CollationFa; default: $match = []; - if ( preg_match( '/^uca-([a-z@=-]+)$/', $collationName, $match ) ) { + if ( preg_match( '/^uca-([A-Za-z@=-]+)$/', $collationName, $match ) ) { return new IcuCollation( $match[1] ); }