settings: change fault value of regular_expressions to 'perl'

This commit is contained in:
Andrzej Rybczak
2016-08-17 15:56:14 +02:00
parent 68fbbfae43
commit 0465962409
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@@ -1,6 +1,7 @@
ncmpcpp-0.7.5 (????-??-??) ncmpcpp-0.7.5 (????-??-??)
* Action chains can be now used for seeking. * Action chains can be now used for seeking.
* Fixed fetching artist info from last.fm. * 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) ncmpcpp 0.7.4 (2016-04-17)
* Fetching lyrics from lyricwiki.org was fixed. * Fetching lyrics from lyricwiki.org was fixed.

View File

@@ -428,7 +428,7 @@
# #
## Available values: none, basic, extended, perl. ## Available values: none, basic, extended, perl.
## ##
#regular_expressions = basic #regular_expressions = perl
# #
## ##
## Note: If below is enabled, ncmpcpp will ignore leading ## Note: If below is enabled, ncmpcpp will ignore leading

View File

@@ -593,7 +593,7 @@ bool Configuration::read(const std::vector<std::string> &config_paths, bool igno
else else
throw std::runtime_error("invalid argument: " + v); throw std::runtime_error("invalid argument: " + v);
regex_type |= boost::regex::icase; 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( p.add("ignore_leading_the", yes_no(
ignore_leading_the, false ignore_leading_the, false