44 Match(){m_start=wxNOT_FOUND;m_length = 0;}
45 void SetStart(std::size_t start){m_start = start; m_found =
true;}
46 void SetNotFound(){m_found =
false;}
47 bool Found()
const {
return m_found;}
48 void SetLength(std::size_t length){m_length = length;}
49 long long GetStart()
const {
return m_start;}
50 std::size_t GetLength()
const {
return m_length;}
51 std::size_t GetEnd()
const {
return m_start + m_length;}
53 std::size_t m_start = 0;
54 std::size_t m_length = 0;
59 Match FindNext(
const wxString &
string, std::size_t start);
60 Match FindNext_Reverse(
const wxString &
string, std::size_t start);
61 Match Replace(wxString *
string, std::size_t start,
const wxString &replacement);
62 Match Replace_Reverse(wxString *
string, std::size_t start,
const wxString &replacement);
Definition: RegexSearch.h:42
The find+replace dialog.
Definition: RegexSearch.h:39