From 3b320fc5dadaf80beb43df2133ea5651206938ae Mon Sep 17 00:00:00 2001 From: CrossNox Date: Tue, 29 Nov 2022 08:22:56 -0300 Subject: [PATCH] fix identificador? --- src/rustint/core.clj | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/rustint/core.clj b/src/rustint/core.clj index 5ed5e00..319c54b 100644 --- a/src/rustint/core.clj +++ b/src/rustint/core.clj @@ -2279,12 +2279,7 @@ (and (symbol? arg) (not (palabra-reservada? arg)) - (contains? - (set - (map char (range 97 122)) - ) - (first (name arg)) - ) + (not (nil? (re-matches #"_?[a-zA-Z][a-zA-Z0-9]*" (name arg)))) ) )