MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following statement containing regular expressionsvar text = "testing: 1, 2, 3";var pattern = /d+/g;In order to check if the pattern matches, the statement is |
| A. | ext==pattern |
| B. | ext.equals(pattern) |
| C. | ext.test(pattern) |
| D. | attern.test(text) |
| Answer» E. | |