https://bugs.documentfoundation.org/show_bug.cgi?id=139523

--- Comment #1 from elmau <pub...@correolibre.net> ---
The razor is: 

Support for nested sets and set operations in regular expressions as in Unicode
Technical Standard #18 might be added in the future. This would change the
syntax. To facilitate this future change a FutureWarning will be raised in
ambiguous cases for the time being. That include sets starting with a literal
'[' or containing literal character sequences '--', '&&', '~~', and '||'. To
avoid a warning, escape them with a backslash. (Contributed by Serhiy Storchaka
in bpo-30349.)

https://docs.python.org/dev/whatsnew/3.7.html

so... 

vrenuncia =
re.compile("(?i)\\b([Aa]\|\[[\xc0\xe0]|[Aa]nuncia|[Aa]nunciava|[Aa]nunciam|[Aa]nunciou|[Cc]om|[Cc]omo|[Cc]oncedeu|[Cc]uja|[Dd]a|[Dd]e|[Dd]esaprova|[Dd]oce|[Dd]upla|[Ee]|[\xc9\xe9]|[Ee]m|[Ee]ssa|[Ee]st\xfapida|[Ee]ventual|[Ff]azer|[Ff]requente|[Gg]enerosa|[Hh]ouve|[Ii]mediata|[Ii]mpliquem|[Ii]mporta|[Ii]mportar\xe1|[Mm]inha|[Nn]a|[Nn]ega|[Nn]ossa|[Nn]uma|[Oo]u|[Pp]ela|[Pp]equena|[Pp]osterior|[Pp]resumir|[Pp]romove|[Pp]romover|[Pp]ura|[Rr]epresentaram|[Ss]ignifique|[Ss]ua|[Tt]ua|[\xda\xfa]ltima|[\xda\xfa]nica|[Uu]ma)
renuncia\\b")

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to