diff --git a/NEWS b/NEWS index dbe73870..d132ef1b 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ncmpcpp-0.7.5 (????-??-??) * Action chains can be now used for seeking. * Fixed fetching artist info from last.fm. +* Default value of regular_expressions was changed from 'basic' to 'perl' to work around boost issue (#12222). ncmpcpp 0.7.4 (2016-04-17) * Fetching lyrics from lyricwiki.org was fixed. diff --git a/doc/config b/doc/config index 29d4d642..38a0e98c 100644 --- a/doc/config +++ b/doc/config @@ -428,7 +428,7 @@ # ## Available values: none, basic, extended, perl. ## -#regular_expressions = basic +#regular_expressions = perl # ## ## Note: If below is enabled, ncmpcpp will ignore leading diff --git a/src/settings.cpp b/src/settings.cpp index 6f3daf52..79646e5f 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -593,7 +593,7 @@ bool Configuration::read(const std::vector &config_paths, bool igno else throw std::runtime_error("invalid argument: " + v); regex_type |= boost::regex::icase; - }, defaults_to(regex_type, boost::regex::basic | boost::regex::icase) + }, defaults_to(regex_type, boost::regex::perl | boost::regex::icase) )); p.add("ignore_leading_the", yes_no( ignore_leading_the, false