We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9761810 commit e4077ecCopy full SHA for e4077ec
1 file changed
src/lib/es6.d.ts
@@ -702,6 +702,14 @@ interface RegExp {
702
*/
703
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
704
705
+ /**
706
+ * Finds the position beginning first substring match in a regular expression search
707
+ * using this regular expression.
708
+ *
709
+ * @param string The string to search within.
710
+ */
711
+ [Symbol.search](string: string): number;
712
+
713
/**
714
* Returns a string indicating the flags of the regular expression in question. This field is read-only.
715
* The characters in this string are sequenced and concatenated in the following order:
0 commit comments