// Token: 0x060000EE RID: 238 RVA: 0x000050B4 File Offset: 0x000032B4 private bool HandleSong(string entry) { SongSectionEntry songSectionEntry = SongSectionEntry.Parse(entry); bool result; if (songSectionEntry == null) { result = false; } else { this.Song.Add(songSectionEntry); result = true; } return(result); }
// Token: 0x0600012E RID: 302 RVA: 0x000067AC File Offset: 0x000049AC public static SongSectionEntry Parse(string entryStr) { Match match = SongSectionEntry.SongRegex.Match(entryStr); SongSectionEntry result; if (!match.Success) { result = null; } else { SongSectionEntry songSectionEntry = new SongSectionEntry(); string key = match.Groups["key"].Value.Trim(); string value = match.Groups["value"].Value.Trim().Trim("\"".ToCharArray()); songSectionEntry.Key = key; songSectionEntry.Value = value; result = songSectionEntry; } return(result); }