Skip to content

Commit

Permalink
agregados parentesis a la expresion regular de eliminacion de numeros…
Browse files Browse the repository at this point in the history
… telefonicos del mensaje. Por sukiletxe
  • Loading branch information
GerardKessler committed May 11, 2024
1 parent a4ef58a commit b81ba6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/appModules/whatsapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def event_NVDAObject_init(self, obj):
if getattr(obj, 'UIAAutomationId', 'BubbleListItem') != 'BubbleListItem' or not self.remove_phone_number and not self.remove_emojis:
return
if self.remove_phone_number and '+' in obj.name:
obj.name= sub(r'\+\d[\d\s\:\~\&-]{12,}', '', obj.name)
obj.name= sub(r'\+\d[\d\s\:\~\&\(\)-]{12,}', '', obj.name)
if self.remove_emojis:
obj.name= emoji.replace_emoji(obj.name, '')

Expand Down

0 comments on commit b81ba6b

Please sign in to comment.