Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(387)

Unified Diff: scripts/lilypond-invoke-editor.scm

Issue 336450043: More conservative parsing of textedit URIs (Closed)
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scm/editor.scm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/lilypond-invoke-editor.scm
diff --git a/scripts/lilypond-invoke-editor.scm b/scripts/lilypond-invoke-editor.scm
index 6658f50166dfe4d98f56d2d2aad068d4e291f864..de45663c1d4c8ec51d730eb20aad27d0eaf4ef3f 100644
--- a/scripts/lilypond-invoke-editor.scm
+++ b/scripts/lilypond-invoke-editor.scm
@@ -93,7 +93,7 @@ Options:
(define (dissect-uri uri)
- (let* ((match (string-match "textedit://(.*):([^:]+):([^:]+):(.*)$" uri)))
+ (let* ((match (string-match "textedit://(.*):([0-9]+):([0-9]+):([0-9]*)$" uri)))
(if match
(list (unquote-uri (match:substring match 1))
(match:substring match 2)
« no previous file with comments | « scm/editor.scm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b