Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37813740
en ru br
ALT Linux repos
S:1.83.0-alt2
D:1.37.0-alt2
5.0: 1.36.0-alt4
4.1: 1.34.1-alt1
4.0: 1.33.1-alt4
3.0: 1.32.0-alt2

Group :: Development/C++
RPM: boost

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: boost-1.36.0-svn-r48141-xpressive-fixes.patch
Download


Index: /trunk/boost/xpressive/detail/utility/hash_peek_bitset.hpp
===================================================================
--- /trunk/boost/xpressive/detail/utility/hash_peek_bitset.hpp (revision 43799)
+++ /trunk/boost/xpressive/detail/utility/hash_peek_bitset.hpp (revision 48141)
@@ -105,5 +105,8 @@
     void set_bitset(hash_peek_bitset<Char> const &that)
     {
-        this->bset_ |= that.bset_;
+        if(this->test_icase_(that.icase()))
+        {
+            this->bset_ |= that.bset_;
+        }
     }
 
Index: /trunk/libs/xpressive/test/regress.txt
===================================================================
--- /trunk/libs/xpressive/test/regress.txt (revision 47901)
+++ /trunk/libs/xpressive/test/regress.txt (revision 48141)
@@ -3739,2 +3739,12 @@
 br0=c
 [end]
+
+[nocasealternate]
+str=common HighLight and Blow this
+pat=highlight|blow
+flg=ig
+sub=<b>$&</b>
+res=common <b>HighLight</b> and <b>Blow</b> this
+br0=HighLight
+br1=Blow
+[end]
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin