Skip to content

Commit

Permalink
docs: fix regexps incorrectly being called global (#8624)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedGuy12 committed Sep 15, 2022
1 parent 22ac6b4 commit fc9653f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/GuildTemplate.js
Expand Up @@ -12,7 +12,7 @@ const Events = require('../util/Events');
*/
class GuildTemplate extends Base {
/**
* A regular expression that globally matches guild template links.
* A regular expression that matches guild template links.
* The `code` group property is present on the `exec()` result of this expression.
* @type {RegExp}
* @memberof GuildTemplate
Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/structures/Invite.js
Expand Up @@ -13,7 +13,7 @@ const { Error, ErrorCodes } = require('../errors');
*/
class Invite extends Base {
/**
* A regular expression that globally matches Discord invite links.
* A regular expression that matches Discord invite links.
* The `code` group property is present on the `exec()` result of this expression.
* @type {RegExp}
* @memberof Invite
Expand Down

0 comments on commit fc9653f

Please sign in to comment.