![]() above.) For example, if /(\a+)(\b+)/, was given, p1 is the match for \a+, and p2 for \b+. The nth string found by a parenthesized capture group (including named capturing groups), provided the first argument to replace() was a RegExp object. The arguments to the function are as follows: Possible name Replaced if the regular expression in the first parameter is global. Note that the function will be invoked multiple times for each full match to be ![]() Replacement patterns do not apply in this case.) The function's result (return value) will be ![]() Invoked after the match has been performed. You can specify a function as the second parameter.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |