bbepis / XUnity.AutoTranslator

MIT License
2.01k stars 293 forks source link

Question concerning Regex with 。at the end #497

Open elgerifico opened 9 months ago

elgerifico commented 9 months ago

I am trying to convert this text:

獲得金錢 150。

into a regex formula, but I am seemingly unable to get AutoTranslator to translate the text.

This is the regex formula I have tried using:

r="^獲得金錢 ([0-9]+)。$"=Obtained: $1 coins

I am unsure what I am doing wrong. Any help or suggestions would be greatly appreciated.

Atamg1994 commented 9 months ago

Search this option TemplateAllNumberAway in config and set True

TemplateAllNumberAway=True