Home / MCQ Bank / Computer
Computer Classes And Modules

Consider the following statement containing regular expressions var text = "testing: 1, 2, 3" ; var pattern = / d +/ g; In order to check if the pattern matches, the statement is

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • pattern.test(text)

Related Computer Questions

Lucene provides scalable, high-Performance indexing over ______ per hour on modern hardware. Which of the following selects input element which has focus? What will be the output of the following C# code snippet? #define DEBUG #define MYTEST using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication13 { class Program { static void Main(string[] args) { #if (DEBUG && !MYTEST) Console.WriteLine("DEBUG is defined"); #elif (!DEBUG && MYTEST) Console.WriteLine("MYTEST is defined"); #elif (DEBUG && MYTEST) Console.WriteLine("DEBUG and MYTEST are defined"); #else Console.WriteLine("DEBUG and MYTEST are not defined"); #endif Console.ReadLine(); } } } Fonts install from Select the correct value of i from given options i=scanf("%d %d", &a, &b);