codeblock:
fix language regexp to accept numbers in #lang original commit: 6099806a7209d0d9e4ba85412dac0e13d8910111
This commit is contained in:
parent
e8ce285e5a
commit
c41c11a64b
|
@ -121,7 +121,7 @@
|
||||||
[else null]))]
|
[else null]))]
|
||||||
[has-hash-lang? (regexp-match? #rx"^#lang " bstr)]
|
[has-hash-lang? (regexp-match? #rx"^#lang " bstr)]
|
||||||
[language (if has-hash-lang?
|
[language (if has-hash-lang?
|
||||||
(let ([m (regexp-match #rx"^#lang ([-a-zA-Z/._+]+)" bstr)])
|
(let ([m (regexp-match #rx"^#lang ([-0-9a-zA-Z/._+]+)" bstr)])
|
||||||
(if m
|
(if m
|
||||||
(link-mod
|
(link-mod
|
||||||
#:orig? #t
|
#:orig? #t
|
||||||
|
|
Loading…
Reference in New Issue
Block a user