blob: 06ce73995ebebd076de85a1bf8caaf29c78038b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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]
|