NewLineRegex.hpp 674 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-06-12
  6. * Changed: 2023-06-12
  7. *
  8. * */
  9. #ifndef LS_STD_NEWLINE_REGEX_HPP
  10. #define LS_STD_NEWLINE_REGEX_HPP
  11. #include <regex>
  12. #include <string>
  13. namespace ls::std::core
  14. {
  15. class NewLineRegex
  16. {
  17. public:
  18. ~NewLineRegex();
  19. [[nodiscard]] static ::std::regex get();
  20. [[nodiscard]] static ::std::string getStringRepresentation();
  21. private:
  22. NewLineRegex();
  23. [[nodiscard]] static ::std::regex _get();
  24. [[nodiscard]] static ::std::string _getStringRepresentation();
  25. };
  26. }
  27. #endif