What is the most essential purpose of parentheses in regular expressions?
(a) Define pattern matching techniques
(b) Define subpatterns within the complete pattern
(c) Define portion of strings in the regular expression
(d) matching the complete string
This question was addressed to me during an interview.
I want to ask this question from Pattern Matching and Regular Expressions topic in portion Classes and Modules in JavaScript of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)