Ver a proveniência

lol how do I regex

tags/v0.1^2
Ben Kurtovic há 12 anos
ascendente
cometimento
ebfd06f98b
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      earwigbot/commands/dictionary.py

+ 2
- 2
earwigbot/commands/dictionary.py Ver ficheiro

@@ -131,10 +131,10 @@ class Dictionary(Command):
("<!--(.*?)-->", ""),
("\[\[[^\]|]*?\|([^\]|]*?)\]\]", r"\1"),
("\{\{unsupported\|(.*?)\}\}", r"\1"),
("\{\{(.*?) of\|([^}|]*?)(\||(\}\}))", r"\1 of \2."),
("\{\{(.*?) of\|([^}|]*?)\|?(.*?)\}\}", r"\1 of \2."),
("\{\{w\|(.*?)\}\}", r"\1"),
("\{\{surname(.*?)\}\}", r"A surname."),
("\{\{given name\|([^}|]*?)(\||(\}\}))", r"A \1 given name."),
("\{\{given name\|([^}|]*?)\|?(.*?)\}\}", r"A \1 given name."),
]

senses = []


Carregando…
Cancelar
Guardar