Skip to content

Commit

Permalink
fix: make regex search more flexible
Browse files Browse the repository at this point in the history
Refs: #1217
  • Loading branch information
yinanazhou committed Jun 3, 2024
1 parent ae50bdb commit 018f878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NeonCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class NeonCore {
}
}).then(data => {
// Check if the MEI file is sb-based. If so, convert to staff-based.
if (!data.match(/<section type="neon-neume-line">/)) {
if (!data.match(/.*section.*type="neon-neume-line".*/)) {
data = convertToVerovio(data);
}

Expand Down

0 comments on commit 018f878

Please sign in to comment.