XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

Question concerning Regex with 。at the end

Open elgerifico opened this issue 1 year ago • 1 comments

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.

elgerifico avatar Feb 19 '24 17:02 elgerifico

Search this option TemplateAllNumberAway in config and set True

TemplateAllNumberAway=True

Atamg1994 avatar Feb 19 '24 22:02 Atamg1994