Skip to content

Commit

Permalink
Remove unnecessary escape
Browse files Browse the repository at this point in the history
  • Loading branch information
woshibiantai committed Jul 20, 2024
1 parent 94996f3 commit 246ec42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ChordChartBodyLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const comment = computed(() => {
const chordLyricPairs = computed(() => {
const segments = props.line
.split(/(\[[\w\/\(\\#\)]*\])/); // Split by chords
.split(/(\[[\w/#()]*\])/); // Split by chords
return segments.reduce((chordLine, segment, index) => {
if (!segment.includes('[')) {
if (index === 0) {
Expand Down

0 comments on commit 246ec42

Please sign in to comment.