Regex regex = new Regex(~~~);
MatchCollection mc = regex.Matches(inputdata);
string pr = null;
foreach(Match m in mc)
{
pr += m.Groups[1] + "=" + m.Groups[2] + "&";
}
이런꼴의 C#코드가있는데 go로 바꾸려니까 regex group 사용법을 모르겠어요 ㅠㅠ
https://stackoverflow.com/questions/30483652/how-to-get-capturing-group-functionality-in-golang-regular-expressions
ㄷㄷ 감사합니다;;
re := regexp.MustCompile("([0-9]+)-([0-9]+)-([0-9]+)")
그 다음을 써야 되는데 등록하기에 적절치 않다고 에러 뜨네 시불 ㅋㅋ