summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-07-27 19:19:00 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2021-07-29 20:33:36 +0200
commit1787948f9a80e7f39c0d67869ff56d22223df584 (patch)
treec85b811636543ca4fec188a9407ccdad7a6d5a25
parent60ac0c9c796fd0c09b0482baa7878399a9c2e75a (diff)
Portuguese Brasil lightproof: fix "Flags not at the start of the expression"
Change-Id: If1888a167f2efe6ee54e72e4adf6ee9ab851b590 Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/119569 Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--pt_BR/pythonpath/lightproof_impl_pt_BR.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pt_BR/pythonpath/lightproof_impl_pt_BR.py b/pt_BR/pythonpath/lightproof_impl_pt_BR.py
index d3a72a1..1b0d8fb 100644
--- a/pt_BR/pythonpath/lightproof_impl_pt_BR.py
+++ b/pt_BR/pythonpath/lightproof_impl_pt_BR.py
@@ -243,10 +243,10 @@ paralcap = re.compile(u"(?u)^[a-z].*[.?!] [A-Z].*[.?!][)\u201d]?$")
# Tenta corrigir erros de identificacao da regra de capiatizacao
# erroscap = re.compile("(?i)\\.([A-Z])")
-erroscap = re.compile("((?i)\\.([A-Z\xc0\xc1\xc2\xc3\xc7\xc9\xca\xcd\xd3\xd4\xd5\xda])|\\.\\[|\\.\\(|\\.\\)|\\?\\)|\\!\\)|[a-z]\\))")
-erroscapa = re.compile("((?i)[.?!]\\, ([a-z\xe1\xe2\xe3\xe7\xe9\xea\xf3\xf4\xf5\xfa]+))")
-erroscapb = re.compile("((?i)[a-z]\\))")
-erroscapc = re.compile("((?i)[.?!][\"\u2019\u201d])")
+erroscap = re.compile("(?i)\\.([A-Z\xc0\xc1\xc2\xc3\xc7\xc9\xca\xcd\xd3\xd4\xd5\xda])|\\.\\[|\\.\\(|\\.\\)|\\?\\)|\\!\\)|[a-z]\\)")
+erroscapa = re.compile("(?i)[.?!]\\, ([a-z\xe1\xe2\xe3\xe7\xe9\xea\xf3\xf4\xf5\xfa]+)")
+erroscapb = re.compile("(?i)[a-z]\\)")
+erroscapc = re.compile("(?i)[.?!][\"\u2019\u201d]")
# Tenta corrigir erros de identificacao parentese de fechamento
errosprnt = re.compile(u"(?u)^([a-z]|[ivxl]+)\\)")