-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix(47969): String.prototypr.replace docs fix #50041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
3cade4c
04df1e1
34c3b9c
472584f
29e50b3
0507192
906510e
305f4bd
abc58bd
8e71f42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -430,7 +430,7 @@ interface String { | |
| /** | ||
| * Replaces text in a string, using a regular expression or search string. | ||
| * @param searchValue A string to search for. | ||
navya9singh marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string. | ||
| * @param replaceValue A string containing the text to replace. When the searchvalue is a string, only the first match is replaced. If the searchValue is a Regexp, all matches are replaced if the g flag is set. Otherwise only the first one is. | ||
navya9singh marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| replace(searchValue: string | RegExp, replaceValue: string): string; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.