regexp.h 286 B

1234567891011121314
  1. #ifndef NULLSOFT_UTILITY_REGEXP_H
  2. #define NULLSOFT_UTILITY_REGEXP_H
  3. #pragma once
  4. #ifdef _WIN32
  5. #include <wchar.h>
  6. typedef wchar_t regchar_t;
  7. #else
  8. typedef char regchar_t;
  9. #endif
  10. // strings must be in ALL CAPS. sorry.
  11. bool Match(const regchar_t *match, const regchar_t *string);
  12. #endif