fix custom line break issue with comma
This commit is contained in:
parent
b23ba5c0dc
commit
2f906344de
@ -114,7 +114,7 @@
|
||||
(make-custom-linebreaks
|
||||
(cdr break-words)
|
||||
(ly:regex-replace
|
||||
(ly:make-regex (string-append "(" (ly:regex-replace (ly:make-regex "(.)") (car break-words) "(?:\\(?" 1 "| *,[^,)]+\\)" 1 ")") "(?: *,[^,)]+\\))?)(.*)$"))
|
||||
(ly:make-regex (string-append "(" (ly:regex-replace (ly:make-regex "(.)") (car break-words) "(?: *,[^,)]+\\)" 1 "|\\(?" 1 ")") "(?: *,[^,)]+\\))?)(.*)$"))
|
||||
newtext
|
||||
1 "\n" 2))))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user