Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121192 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 83427 invoked from network); 30 Sep 2023 08:42:28 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Sep 2023 08:42:28 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D0183180545 for ; Sat, 30 Sep 2023 01:42:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS9370 160.16.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 30 Sep 2023 01:42:27 -0700 (PDT) Received: from smtpclient.apple (207.214.49.163.rev.vmobile.jp [163.49.214.207]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id E5CEF401E2; Sat, 30 Sep 2023 17:42:25 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1696063346; bh=fVokXWhELe+0veu1dFu6yubBmwnLGD10qGWsqIQAGhA=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=VgxeA6rZaNBwAMztD2Z4qbQax4KPsr4SChZ9hNpN48XFtFuFb5nvnSjs38v7QemTY YcMtjCQNsCoBxJ7uozAmzCaxZ+VGuLMmhGnTNQds+nH9C4qCzsjPzgGUO+MRM8PfA9 68cgcFKh2D/rmGKFQhBh0mHEQa0wx1ZMl9a4OqJ8= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Sat, 30 Sep 2023 17:42:13 +0900 Message-ID: References: Cc: internals@lists.php.net In-Reply-To: To: youkidearitai X-Mailer: iPhone Mail (20G81) Subject: Re: [PHP-DEV] trim support for multibyte spaces From: saki@sakiot.com (Saki Takamachi) > I also want to trim function of multibyte trim functions. > I think that in addition to mb_trim, mb_ltrim and mb_rtrim are also necessary. Hi. Having a new option besides regex sounds like a good idea for me, as a user o= f a language that benefits from `mb_trim()`. Perhaps users are more intuitive about the usefulness of those functions who= have spent more time cleaning "multibyte spaces". Regards. Saki=