wex
v21.10.0
|
Holds substitute data for addressrange. More...
#include <wex/data/substitute.h>
Public Member Functions | |
substitute (const std::string &text=std::string()) | |
Default constructor, calls set. | |
bool | is_confirmed () const |
Returns whether options indicate confirmed. | |
bool | is_global () const |
Returns whether options indicate global. | |
bool | is_ignore_case () const |
Returns whether options indicate ignore case. | |
auto & | commands () const |
Returns commands. | |
auto & | pattern () const |
Returns pattern. | |
auto & | replacement () const |
Returns replacement. | |
bool | set (const std::string &text) |
Sets pattern, replacement, options from text: s/pattern/text/options. | |
bool | set_global (const std::string &text) |
Sets pattern, commands from text (for global substitute). | |
void | set_options (const std::string &text) |
Sets options only. | |
Holds substitute data for addressrange.