fix bug in names that begin with _r
This commit is contained in:
parent
ec5ccb0a8b
commit
a4fbb4ee4c
|
@ -301,11 +301,11 @@
|
|||
(set! ellipsis-number (+ ellipsis-number 1))
|
||||
(values (format "..._r~a" ellipsis-number) #f)]
|
||||
[(regexp-match? #rx"^[.][.][.]_r" ellipsis-pre-str)
|
||||
(values (string-append (substring ellipsis-str 0 4)
|
||||
(values (string-append (substring ellipsis-pre-str 0 4)
|
||||
"r"
|
||||
(substring ellipsis-str
|
||||
(substring ellipsis-pre-str
|
||||
4
|
||||
(string-length ellipsis-str)))
|
||||
(string-length ellipsis-pre-str)))
|
||||
#t)]
|
||||
[(regexp-match? #rx"^[.][.][.]_" ellipsis-pre-str)
|
||||
(values ellipsis-pre-str #t)]
|
||||
|
|
|
@ -588,6 +588,14 @@
|
|||
#f))
|
||||
|
||||
|
||||
(let ()
|
||||
(test (and (redex-match
|
||||
empty-language
|
||||
(natural ..._r)
|
||||
(term ()))
|
||||
#t)
|
||||
#t))
|
||||
|
||||
;
|
||||
;
|
||||
; ;;; ;
|
||||
|
|
Loading…
Reference in New Issue
Block a user