Article View: pl.comp.lang.c
Article #309745Re: Jak dopasować do maski z gwiazdką?
From: Zbych
Date: Fri, 17 Aug 2018 12:26
Date: Fri, 17 Aug 2018 12:26
12 lines
1454 bytes
1454 bytes
W dniu 16.08.2018 o 17:15, Borneq pisze: > Jak dopasować string np. 19NRGbH21deCL6WE2F7vf5WpE2BKcF5gHT do 19NRGbH > lub NRG* > Nie jest potrzebne zaawansowane działanie typu Grep, ale dopasowanie do > jednej lub więcej gwiazdek. > Jest > https://stackoverflow.com/questions/3300419/file-name-matching-with-wildcard > > z chęcią użyłbym Boosta, ale tu jest za dużo: nie chodzi mi i > zaawansowane wyrażenia a jedynie o same gwiazdki Posix ma fnmatch: http://man7.org/linux/man-pages/man3/fnmatch.3.html
Technical Details
Message-ID:
<5b76bf0d$0$610$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailReferences:
<pl44eh$1eb$1@node2.news.atman.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail Subject: Re: Jak dopasować do maski z gwiazdką? Newsgroups: pl.comp.lang.c References: <pl44eh$1eb$1@node2.news.atman.pl> From: Zbych <abuse@onet.pl> Date: Fri, 17 Aug 2018 14:26:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <pl44eh$1eb$1@node2.news.atman.pl> Lines: 13 Message-ID: <5b76bf0d$0$610$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: 5.185.99.4 X-Trace: 1534508813 unt-rea-a-02.news.neostrada.pl 610 5.185.99.4:32630 X-Complaints-To: abuse@news.neostrada.pl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit