summaryrefslogtreecommitdiff
path: root/src/ljstype.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-01 13:58:39 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-03-01 13:58:39 +0100
commit69a7af7a8af1e737fe6afe47998b90c8fd778998 (patch)
tree41e8e7fae91044ea90eeb003a66d76add378dd08 /src/ljstype.js
parentfcbf535dc7f14ce00d307bc3874d22f0d6cce9e5 (diff)
downloadfengari-69a7af7a8af1e737fe6afe47998b90c8fd778998.tar.gz
fengari-69a7af7a8af1e737fe6afe47998b90c8fd778998.tar.bz2
fengari-69a7af7a8af1e737fe6afe47998b90c8fd778998.zip
[Parsing tests] Binary op
Diffstat (limited to 'src/ljstype.js')
-rw-r--r--src/ljstype.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ljstype.js b/src/ljstype.js
index a92c8d0..ef4be1d 100644
--- a/src/ljstype.js
+++ b/src/ljstype.js
@@ -15,11 +15,11 @@ const lisspace = function(c) {
};
const lislalpha = function(c) {
- return /^[_a-zA-z]$/.test(c.charAt(0));
+ return /^[_a-zA-Z]$/.test(c.charAt(0));
};
const lislalnum = function(c) {
- return /^[_a-zA-z0-9]$/.test(c.charAt(0));
+ return /^[_a-zA-Z0-9]$/.test(c.charAt(0));
};
module.exports.lisdigit = lisdigit;