diff --git a/src/sfizz/Regexes.h b/src/sfizz/Regexes.h deleted file mode 100644 index 950ef3b3..00000000 --- a/src/sfizz/Regexes.h +++ /dev/null @@ -1,13 +0,0 @@ -#include - -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 }; -} -} \ No newline at end of file diff --git a/tests/ParsingT.cpp b/tests/ParsingT.cpp index df8ee2d2..8489738c 100644 --- a/tests/ParsingT.cpp +++ b/tests/ParsingT.cpp @@ -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 #include "catch2/catch.hpp"