Removed the regexes

This commit is contained in:
Paul Ferrand 2019-12-18 10:24:40 +01:00
parent 06de4b20ac
commit 006e5b33b5
2 changed files with 0 additions and 14 deletions

View file

@ -1,13 +0,0 @@
#include <regex>
namespace sfz
{
namespace Regexes
{
static std::regex includes { R"V(#include\s*"(.*?)".*$)V", std::regex::optimize };
static std::regex defines { R"(#define\s*(\$[a-zA-Z0-9_]+)\s+([a-zA-Z0-9-]+)(?=\s|$))", std::regex::optimize };
static std::regex headers { R"(<(.*?)>(.*?)(?=<|$))", std::regex::optimize };
static std::regex members { R"(([a-zA-Z0-9_]+)=([a-zA-Z0-9-_#.&\/\s\\\(\),\*]+)(?![a-zA-Z0-9_]*=))", std::regex::optimize };
static std::regex opcodeParameters { R"(([a-zA-Z0-9_]+?)([0-9]+)$)", std::regex::optimize };
}
}

View file

@ -21,7 +21,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "Regexes.h"
#include "SfzHelpers.h"
#include <iostream>
#include "catch2/catch.hpp"