1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-22 02:51:32 +03:00
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 02:52:06 +03:00
return re.str();
}
void option_from_string(StringView str, Regex& re)
{
2015-07-25 13:15:03 +03:00
re = Regex{str};
}
}