[Libreoffice-commits] core.git: Branch 'libreoffice-6-4-6' - sfx2/inc
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 6 14:11:49 UTC 2020
sfx2/inc/SfxRedactionHelper.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 39e3b3c9afa5438f30f8e7ee3950b517a2dad55f
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Jul 22 13:30:21 2020 +0200
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Thu Aug 6 16:10:38 2020 +0200
tdf#135032: autoredaction, take into account emails in lowercase
Change-Id: Ie922a9e7203e46b19a0c7418983b1d0d7e787f02
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99216
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
(cherry picked from commit 26357bcb3838698e041d7079105144dfb72856e1)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99209
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
(cherry picked from commit 6360bea26ddc8e4d42c2f0c50b4f3974a07a8ce4)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99490
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
(cherry picked from commit b8e61e79067e476911e173356c5fdbbeafba0a6c)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99492
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
Tested-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/sfx2/inc/SfxRedactionHelper.hxx b/sfx2/inc/SfxRedactionHelper.hxx
index 65835d75f8eb..f1f3303ca59b 100644
--- a/sfx2/inc/SfxRedactionHelper.hxx
+++ b/sfx2/inc/SfxRedactionHelper.hxx
@@ -125,7 +125,7 @@ public:
private:
static constexpr OUStringLiteral m_aPredefinedTargets[6] = {
"\\b(?:\\d[ -]*?){13,16}\\b", //Credit card numbers
- "\\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}\\b", //Email addresses
+ "\\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}\\b", //Email addresses
"\\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
"\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"
"\\b", //IP addresses
More information about the Libreoffice-commits
mailing list