We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
builtins.match
1 parent 7dcdd6e commit 039f6c1Copy full SHA for 039f6c1
lib/to-lua.nix
@@ -30,7 +30,7 @@ rec {
30
31
# Valid lua identifiers are not reserved keywords, do not start with a digit,
32
# and contain only letters, digits, and underscores.
33
- isIdentifier = s: !(isKeyword s) && (match "[A-Za-z_][0-9A-Za-z_]*" s) == [ ];
+ isIdentifier = s: !(isKeyword s) && (builtins.match "[A-Za-z_][0-9A-Za-z_]*" s) == [ ];
34
35
# toLua' with default options, aliased as toLuaObject at the top-level
36
toLua = toLua' { };
0 commit comments