Permalink
Browse files

reader: fix comments: line could be at end of file

  • Loading branch information...
1 parent d777b45 commit 4aa4b5ec92c980ee20809662c8e27f0c39dfb2f8 @turbolent committed Apr 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ralph/reader.ralph
View
@@ -9,7 +9,7 @@
"^[+-]?\\d+\\.?\\d*(?:e-?\\d*(?:\\d\\.?|\\.?\\d)\\d*)?"]))
(define *line-pattern*
- (make <regexp> pattern: "(.*)[\n\r]"))
+ (make <regexp> pattern: "(.*)[\n\r]?"))
(define *whitespace-subpattern*
;; Vertical Tab, Form Feed, No-break space, Byte Order Mark

0 comments on commit 4aa4b5e

Please sign in to comment.