From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96086 invoked by alias); 18 Nov 2015 18:00:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 96040 invoked by uid 89); 18 Nov 2015 18:00:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Nov 2015 18:00:01 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D10BEA806A4; Wed, 18 Nov 2015 18:59:58 +0100 (CET) Date: Wed, 18 Nov 2015 18:00:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: fnmatch() doesn't work with character classes? Message-ID: <20151118175958.GU6402@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <564C122C.7080608@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7AwgMNpd3VkAVXjS" Content-Disposition: inline In-Reply-To: <564C122C.7080608@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-11/txt/msg00253.txt.bz2 --7AwgMNpd3VkAVXjS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 915 On Nov 18 05:52, Dustin Boyd wrote: > fnmatch() does not appear to work with character classes or character > equivalents. regcomp(), however, does work with character classes, but > not character equivalents. Is this behavior one should expect? I've > tested with Debian, and it matches in both cases. The behaviour is expected. Debian uses glibc, Cygwin doesn't. > I sent this to the Cygwin ML rather than the Newlib ML just because of > the fact that it may be locale-related, which is a problem on Cygwin's > end, not Newlib's, if it's a problem at all. That's right in this case because Cygwin has its own fnmatch and regcomp. Both are taken from FreeBSD. So the support for character classes and character equivalents match what FreeBSD supports. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --7AwgMNpd3VkAVXjS Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWTLyeAAoJEPU2Bp2uRE+g+GMQAJ8NfIWASzOqltpukTdcY7IB ighXn16VWoKCv1KK7tgf0/DYQ+Eiva03zkszJ2cS1f1wLs2Vg6A9pCKGyWETmUzp 733RdQ8xzQ/lalVTD73LU5IyK66tVaqxc/HwIH2QKqGD5H7rt2iA7+pcAbxbrmAv SnCv6+Q9JxzgP3tOPFi+IeBOqiT7DWDJyBF/29Z0eo/0jJWZpgolgRkbVb03w9GJ nyR5paLHZmDGAi5j/xeyQ5jhT5jfsK4AKfp3bhI1a81o+OjJDODOusjqHYZNsHMf 1Ldr/IUevVgDUZkML/5HIl6v8bDPgkBlIRqHMtcazbmo9EJKlApXLn+vki/ZDvay Q7BGz7emFp7PutahrQCV2Mnm/nvXRm7HD4kj/kYtcawl2iD2xmJePjqnM6/p35w8 ivZ1kjt2WECBQleFZjOW4wZUN+1zXdtMH9Oat5AHY8S2YZyPG0QGmyZ/yRfbbZfj smsWJewv/J1t61TJnmJQuC43V1s/qtrFzl/u6hAsvhHDeOmmmmp1D/aF9dDOxLb9 xCtKynY84Fny6yV93RYGsTi+6RsXTGKD9I119fV5oSlVrhizsnjTFsBz5TenZ6LS 3n9S1ovEbDda5AfwZPHGwfa+0/tJeMDP2GAo3BhvZMQuszfgAJoUIvGe71JQvvz3 uKO7JyUHUGlzul8X5gAB =4+e9 -----END PGP SIGNATURE----- --7AwgMNpd3VkAVXjS--