<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AUTO-REDACT: Disable 'Case Sensitive' checkbox + 'Whole word' checkbox when the 'Regular expression' option is selected"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130863">bug 130863</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>cno@nouenoff.nl, erack@redhat.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AUTO-REDACT: Disable 'Case Sensitive' checkbox + 'Whole word' checkbox when the 'Regular expression' option is selected"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130863#c25">Comment # 25</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AUTO-REDACT: Disable 'Case Sensitive' checkbox + 'Whole word' checkbox when the 'Regular expression' option is selected"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130863">bug 130863</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>Cor/Eike: I noticed my patch <a href="https://gerrit.libreoffice.org/c/core/+/100169">https://gerrit.libreoffice.org/c/core/+/100169</a>
failed with on gerrit:
FAIL: test_tdf44398_find_replace_regexp_string (<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - : Find, replace, regular expression bug"
href="show_bug.cgi?id=44398">tdf44398</a>.<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - : Find, replace, regular expression bug"
href="show_bug.cgi?id=44398">tdf44398</a>)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/tdf/lode/jenkins/workspace/lo_gerrit/Config/linux_clang_dbgutil_64/sc/qa/uitest/search_replace/<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - : Find, replace, regular expression bug"
href="show_bug.cgi?id=44398">tdf44398</a>.py",
line 90, in test_tdf44398_find_replace_regexp_string
self.assertEqual(get_cell_by_position(document, 0, 0, 0).getString(), " Var
Number A")
AssertionError: ' V a r N u m b e r A' != ' Var Number A'
- V a r N u m b e r A
? - - - - - - -
+ Var Number A
(See <a href="https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/65620/console">https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/65620/console</a>)
Does it mean regexp engine doesn't work here?
Indeed, the test contains:
70 xDialog = self.xUITest.getTopFocusWindow()
71 searchterm = xDialog.getChild("searchterm")
72 searchterm.executeAction("TYPE",
mkPropertyValues({"KEYCODE":"CTRL+A"}))
73 searchterm.executeAction("TYPE",
mkPropertyValues({"KEYCODE":"BACKSPACE"}))
74 searchterm.executeAction("TYPE",
mkPropertyValues({"TEXT":"([A-Z])"}))
75 replaceterm = xDialog.getChild("replaceterm")
So it's not [A-Z][a-z], it should take account only on letters with uppercase.
Remark: I can't reproduce the pb locally even why trying "make sc.check" or
"make sc.slowcheck"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>