mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 00:41:38 +02:00
🐛 Add underscore as posible name character (#6135)
This commit is contained in:
parent
a6133e9c48
commit
e81adb241b
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@
|
|||
(token-types t))
|
||||
|
||||
(def token-name-ref
|
||||
[:and :string [:re #"^(?!\$)([a-zA-Z0-9-$]+\.?)*(?<!\.)$"]])
|
||||
[:and :string [:re #"^(?!\$)([a-zA-Z0-9-$_]+\.?)*(?<!\.)$"]])
|
||||
|
||||
(defn valid-token-name-ref?
|
||||
[n]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue