kakoune/src/regex.cc

19 lines
213 B
C++
Raw Normal View History

#include "regex.hh"
#include "exception.hh"
namespace Kakoune
{
String option_to_string(const Regex& re)
{
2016-02-05 00:52:06 +01:00
return re.str();
}
void option_from_string(StringView str, Regex& re)
{
2015-07-25 12:15:03 +02:00
re = Regex{str};
}
}