Files
textmate/Frameworks/text/src/classification.cc
Allan Odgaard 9894969e67 Initial commit
2012-08-09 16:25:56 +02:00

18 lines
289 B
C++

#include "classification.h"
#include "ctype.h"
#include "utf8.h"
namespace text
{
bool is_word_char (std::string const& str)
{
return text::is_word_char(utf8::to_ch(str));
}
bool is_whitespace (std::string const& str)
{
return text::is_space(utf8::to_ch(str));
}
} /* text */