replace gnu regex wrapper with boost::regex
This commit is contained in:
@@ -228,7 +228,7 @@ void Configuration::SetDefaults()
|
||||
playlist_disable_highlight_delay = 5;
|
||||
message_delay_time = 4;
|
||||
lyrics_db = 0;
|
||||
regex_type = REG_ICASE;
|
||||
regex_type = boost::regex::icase;
|
||||
lines_scrolled = 2;
|
||||
search_engine_default_search_mode = 0;
|
||||
visualizer_sync_interval = 30;
|
||||
@@ -782,8 +782,12 @@ void Configuration::Read()
|
||||
}
|
||||
else if (name == "regular_expressions")
|
||||
{
|
||||
if (v != "basic")
|
||||
regex_type |= REG_EXTENDED;
|
||||
if (v == "none")
|
||||
regex_type |= boost::regex::literal;
|
||||
else if (v == "basic")
|
||||
regex_type |= boost::regex::basic;
|
||||
else if (v == "extended")
|
||||
regex_type |= boost::regex::extended;
|
||||
}
|
||||
else if (name == "lines_scrolled")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user