remove regex.hh, define Regex directly in string.hh

This commit is contained in:
Maxime Coste 2012-08-29 21:49:36 +02:00
parent 8febec0bcf
commit bbce6b22a3
8 changed files with 8 additions and 23 deletions

View File

@ -3,7 +3,7 @@
#include "assert.hh"
#include "buffer.hh"
#include "exception.hh"
#include "regex.hh"
#include "string.hh"
namespace Kakoune
{

View File

@ -8,7 +8,7 @@
#include "window.hh"
#include "file.hh"
#include "client.hh"
#include "regex.hh"
#include "string.hh"
#include "highlighter_registry.hh"
#include "filter_registry.hh"
#include "register_manager.hh"

View File

@ -1,10 +1,9 @@
#include "highlighters.hh"
#include "assert.hh"
#include "window.hh"
#include "highlighter_registry.hh"
#include "highlighter_group.hh"
#include "regex.hh"
#include "string.hh"
namespace Kakoune
{

View File

@ -17,7 +17,7 @@
#include "event_manager.hh"
#include "context.hh"
#include "ncurses.hh"
#include "regex.hh"
#include "string.hh"
#include <unordered_map>
#include <sys/types.h>

View File

@ -1,16 +0,0 @@
#ifndef regex_hh_INCLUDED
#define regex_hh_INCLUDED
#include "string.hh"
#include <boost/regex.hpp>
namespace Kakoune
{
typedef boost::basic_regex<Character> Regex;
}
#endif // regex_hh_INCLUDED

View File

@ -1,6 +1,6 @@
#include "selectors.hh"
#include "regex.hh"
#include "string.hh"
#include <algorithm>

View File

@ -2,7 +2,7 @@
#define shell_manager_hh_INCLUDED
#include "utils.hh"
#include "regex.hh"
#include "string.hh"
#include <unordered_map>

View File

@ -3,6 +3,7 @@
#include <string>
#include <iosfwd>
#include <boost/regex.hpp>
#include "memoryview.hh"
#include "units.hh"
@ -11,6 +12,7 @@ namespace Kakoune
{
typedef wchar_t Character;
typedef boost::basic_regex<Character> Regex;
class String
{