diff options
author | elioat <elioat@tilde.institute> | 2024-10-13 18:30:52 -0400 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-10-13 18:30:52 -0400 |
commit | 302274bb999c7172b74096f2c5199eac9e294ad0 (patch) | |
tree | b23c1f88a064ea253891152381c4300e0d571d77 /js | |
parent | 5c0332ff54b126bc1f305020348ff0895d51c54c (diff) | |
download | tour-302274bb999c7172b74096f2c5199eac9e294ad0.tar.gz |
*
Diffstat (limited to 'js')
-rw-r--r-- | js/regex.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/js/regex.js b/js/regex.js index 8e314c4..14199af 100644 --- a/js/regex.js +++ b/js/regex.js @@ -212,11 +212,7 @@ const runTests = () => { } ]; - tests.forEach(({ - pattern, - input, - expected - }, index) => { + tests.forEach(({pattern,input,expected}, index) => { const tokens = tokenize(pattern); const ast = parse(tokens); const result = match(ast, input) !== null; |