Skip to content

Commit

Permalink
Update url-utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeForANinja authored Jul 14, 2023
1 parent 0b92ad4 commit f75b9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/url-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ exports.getVideoID = str => {
* @return {boolean}
*/
const idRegex = /^[a-zA-Z0-9-_]{11}$/;
exports.validateID = (id) => idRegex.test(id.trim());
exports.validateID = (id) => idRegex.test(id.trim());


/**
Expand Down

0 comments on commit f75b9f4

Please sign in to comment.