lang/plantuml: fix regexp in plantuml--fix-atstart-in-org-src-blocks-a (#1760)
* Fix a regexp bug * [:blank:] never match '\n', so add '\n' to regexp
This commit is contained in:
parent
b6b2d74f25
commit
e1d1d148c1
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
(let* ((origin-body body)
|
||||
(fix-body
|
||||
(replace-regexp-in-string
|
||||
"^\\w*\\(@start\\)"
|
||||
"^[[:blank:]\n]*\\(@start\\)"
|
||||
"\\\\\\1"
|
||||
origin-body)))
|
||||
(list fix-body params))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue