Skip to content

RegExpページのクラス名の誤植を修正しました。 - #1148

Merged
suin merged 1 commit into
yytypescript:masterfrom
kumaa-n:fix-regexp-typo
Oct 2, 2026
Merged

suin merged 1 commit into
yytypescript:masterfrom
kumaa-n:fix-regexp-typo

Conversation

@kumaa-n

@kumaa-n kumaa-n commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

対象者

  • 📖 読者

Problem

RegExpページでRegExp.prototype.test()とRegExp.prototype.exec()のクラス名がRegexpと表記されていました。JavaScriptにRegexpというクラスは存在しないため、読者が誤った名前でAPIを調べたり、コードを書いたりするおそれがありました。

Solution

Regexpと表記されていた3箇所を正しいクラス名のRegExpに修正しました。

Value

読者が正しいクラス名でRegExpのメソッドを理解し、MDNなどで調べられるようになります。


Close #1147

## 対象者

- [x] 📖 読者

## Problem

RegExpページで`RegExp.prototype.test()`と`RegExp.prototype.exec()`のクラス名が`Regexp`と表記されていました。
JavaScriptに`Regexp`というクラスは存在しないため、読者が誤った名前でAPIを調べたり、コードを書いたりするおそれがありました。

## Solution

`Regexp`と表記されていた3箇所を正しいクラス名の`RegExp`に修正しました。

## Value

読者が正しいクラス名でRegExpのメソッドを理解し、MDNなどで調べられるようになります。

---

Close yytypescript#1147
@vercel

vercel Bot commented Oct 2, 2026

Copy link
Copy Markdown

@kumaa-n is attempting to deploy a commit to the YYTypescript Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
book Ready Ready Preview Oct 2, 2026 11:05am UTC

Request Review

@suin
suin merged commit c17c4cc into yytypescript:master Oct 2, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — b3cfdf2e Deployed Oct 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

誤植:「Regexp.prototype」->「RegExp.prototype」

2 participants