Skip to content

Commit

Permalink
Merge pull request #23 from Chaphasilor/dev
Browse files Browse the repository at this point in the history
Fix missing closing parentheses in regex
  • Loading branch information
Chaphasilor authored Oct 17, 2021
2 parents 1f29440 + ae0fb30 commit 7dadccd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ indexer.scanUrl(url)
| Wrapper Version | Supported ODD Versions (up to) | Included Version |
| --- | --- | --- |
| **6.1.1** | **2.1.0.0** | **2.1.0.0** |
| **6.1.2** | **2.1.0.0** | **2.1.0.0** |
| 6.1.0 | 2.1.0.0 | 2.1.0.0 |
| 5.1.0 | 2.0.0.6 | 2.0.0.3 |
| 5.0.0 | 2.0.0.2 | 2.0.0.0 |
Expand Down
2 changes: 1 addition & 1 deletion open-directory-downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ module.exports.OpenDirectoryDownloader = class OpenDirectoryDownloader {

const redditOutputRegExp = options.performSpeedtest ?
/Finished speedtest.*(?:\n|\r\n)Http status codes(?:\n|\r\n)(?:.|\n|\r\n)*?(^\|\*\*(?:.|\n|\r\n)*?)(?:\n|\r\n)\^\(Created by.*?\)(?:\n|\r\n){2}/m :
/Saved URL list.*(?:\n|\r\n)Http status codes(?:\n|\r\n)(?:.|\n|\r\n*?(^\|\*\*(?:.|\n|\r\n*?)(?:\n|\r\n)\^\(Created by.*?\)(?:\n|\r\n){2}/m
/Saved URL list.*(?:\n|\r\n)Http status codes(?:\n|\r\n)(?:.|\n|\r\n)*?(^\|\*\*(?:.|\n|\r\n)*?)(?:\n|\r\n)\^\(Created by.*?\)(?:\n|\r\n){2}/m
const redditOutputEndRegExp = /\^\(Created by \[KoalaBear84\'s OpenDirectory Indexer v.*?\]\(https:\/\/github\.com\/KoalaBear84\/OpenDirectoryDownloader\/\)\)/;
const credits = transcriber.output.match(redditOutputEndRegExp)[0]

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-directory-downloader",
"version": "6.1.1",
"version": "6.1.2",
"description": "A NodeJS wrapper around KoalaBear84/OpenDirectoryDownloader",
"main": "open-directory-downloader.js",
"scripts": {
Expand Down

0 comments on commit 7dadccd

Please sign in to comment.