docs: fix regexps incorrectly being called global (#8624)

This commit is contained in:
RedGuy12
2022-09-15 13:15:01 -05:00
committed by GitHub
parent 22ac6b4660
commit fc9653f5ae
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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