diff options
author | nodiscc <nodiscc@gmail.com> | 2018-07-05 19:41:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-05 19:41:03 +0000 |
commit | bb3e73a9353af54e8bb91ed333b7d5721dec6d32 (patch) | |
tree | 3f9252a16cfc99288f73fd6acc86232f21b26f75 /test.js | |
parent | Merge pull request #1449 from tenchooo/patch-1 (diff) | |
parent | Fix test.js (diff) | |
download | awesome-selfhosted-bb3e73a9353af54e8bb91ed333b7d5721dec6d32.tar.gz awesome-selfhosted-bb3e73a9353af54e8bb91ed333b7d5721dec6d32.zip |
Merge pull request #1456 from Kickball/fixTest
Fix test.js
Diffstat (limited to 'test.js')
-rw-r--r-- | test.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ function split(text) { // Function to split lines into array } function findPattern(text) { // Test entries against 8 patterns. If matches pattern returns true - const nodnospatt = /^-\s{0,2}\s\[.*?\]\(.*?\) - .{0,249}?\. `.*?` `.*?`/; // Regex for entries with no demo and no source code + const nodnospatt = /^\s{0,2}-\s\[.*?\]\(.*?\) - .{0,249}?\. `.*?` `.*?`/; // Regex for entries with no demo and no source code const slpatt = /^\s{0,2}-\s\[.*?\]\(.*?\) - .{0,249}?\. \(\[Demo\b\]\(.*?\), \[Source Code\b\]\(.*?\)\) `.*?` `.*?`/; // Regex for entries with demo and source code const nodpatt = /^\s{0,2}-\s\[.*?\]\(.*?\) - .{0,249}?\. \(\[Source Code\]\(.*?\)\) `.*?` `.*?`/; // Regex for entries with no demo const nospatt = /^\s{0,2}-\s\[.*?\]\(.*?\) - .{0,249}?\. \(\[Demo\]\(.*?\)\) `.*?` `.*?`/; // Regex for entries with no source code |