bbepis / XUnity.AutoTranslator

MIT License
2.02k stars 293 forks source link

regex question #481

Open ZzCOOL84 opened 10 months ago

ZzCOOL84 commented 10 months ago

regex question In the game, the string is generated very long but from the same patterns. I wrote a rule sr:"^(\w+)(((\w+)([0-9]+)(\w+))+)$"=$1 $2 And "$2" returns only the last segment of several segments. How can I make it return all segments?