/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-09 * Changed: 2023-02-09 * * */ #include ls::std::io::SectionPairRowValueValidator::SectionPairRowValueValidator(::std::string _value) : ls::std::core::Class("SectionPairRowValueValidator"), value(::std::move(_value)) {} ls::std::io::SectionPairRowValueValidator::~SectionPairRowValueValidator() = default; bool ls::std::io::SectionPairRowValueValidator::isValid() { size_t foundPosition = this->value.find_first_not_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-0123456789_#![]{}()/$ۤ%?<>+:;., *\""); return foundPosition == ::std::string::npos; }