[php-src] Issue #9223: Brace expansions for fnmatch()
| From: | timint | Date: | Tue, 02 Aug 2022 00:50:07 +0000 |
| Subject: | [php-src] Issue #9223: Brace expansions for fnmatch() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242100@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9223
Author: timint
### Description
I would like to bring up a discussion of having fnmatch() supporting brace expansions like
GLOB_BRACE does glob(). I couldn't see that the topic has been brought up before.
I came across this missing feature a couple of times now having to create an annoying regex
workaround.
Python added this a couple of years ago.
https://github.com/python/cpython/pull/6299