Open ZzCOOL84 opened 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?
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?