1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-11 14:19:49 +00:00

Import glob2regex

It's still missing ast optimization and some code cleanup is also
needed, but it should be working in the general case.
Also write a small unit test for it.
This commit is contained in:
King_DuckZ 2016-05-11 20:36:23 +02:00
parent cfcbcce9e9
commit 05aaaebe0d
11 changed files with 465 additions and 0 deletions

View file

@ -0,0 +1,27 @@
/* Copyright 2015, 2016, Michele Santullo
* This file is part of "dindexer".
*
* "dindexer" is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* "dindexer" is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef id98DC1C17239B4DD38C8697EC91BC3DA4
#define id98DC1C17239B4DD38C8697EC91BC3DA4
#include <string>
namespace g2r {
std::string convert ( const std::string& parGlob );
} //namespace g2r
#endif