Skip to content

Commit

Permalink
Update RegExpPatterns.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jan 4, 2022
1 parent b9647c3 commit db6e09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cspell-lib/src/Settings/RegExpPatterns.ts
Expand Up @@ -15,7 +15,7 @@ export const regExSpellingGuardBlock =
export const regExSpellingGuardNext = /\bc?spell(?:-?checker)?::?\s*disable-next\b.*\s\s?.*/gi;
export const regExSpellingGuardLine = /^.*\bc?spell(?:-?checker)?::?\s*disable-line\b.*/gim;
export const regExIgnoreSpellingDirectives = /\bc?spell(?:-?checker)?::?\s*ignoreRegExp.*/gim;
export const regExPublicKey = /-{5}BEGIN\s+((?:RSA\s+)?PUBLIC)\s+KEY[\w=+\-/=\\\s]+?END\s+\1-{5}/g;
export const regExPublicKey = /-{5}BEGIN\s+((?:RSA\s+)?PUBLIC\s+KEY)[\w=+\-/=\\\s]+?END\s+\1-{5}/g;
export const regExCert = /-{5}BEGIN\s+(CERTIFICATE|(?:RSA\s+)?(?:PRIVATE|PUBLIC)\s+KEY)[\w=+\-/=\\\s]+?END\s+\1-{5}/g;
export const regExSshRSA = /ssh-rsa\s+[a-z0-9/+]{28,}={0,3}(?![a-z0-9/+=])/gi;
export const regExEscapeCharacters = /\\(?:[anrvtbf]|[xu][a-f0-9]+)/gi;
Expand Down

0 comments on commit db6e09f

Please sign in to comment.