Which of the following option is correctly matched Name (p) \d (q) \D (r) \w (s) \s Equivalent pattern 1. [^ 0-9] 2.[0-9] 3. [\r\t\n\f] 4. [A-Z a-z_0-9] P-2, q-1, r-4, s-3 P-1, q-1, r-3, s-4 P-1, q-2, r-4, s-3 P-2, q-1, r-3, s-4 None of these

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
document.write("a: " + (n "3" === 3) + "")
" + (n "3" ==3) + "'"')
document.write("b":
The output will be
a: false b: false
a: false b: true
a true b: true
a true b: false
Transcribed Image Text:document.write("a: " + (n "3" === 3) + "") " + (n "3" ==3) + "'"') document.write("b": The output will be a: false b: false a: false b: true a true b: true a true b: false
Which of the following option is
correctly matched
Name
(p) \d
(q) \D
(r) \w
(s) \s
Equivalent pattern
1. [^ 0-9]
2.[0-9]
3. [\r\t\n\f]
4. [A-Z a-z_0-9]
P-2, q-1, r-4, s-3
P-1, q-1, r-3, s-4
P-1, q-2, r-4, s-3
P-2, q-1, r-3, s-4
None of these
Transcribed Image Text:Which of the following option is correctly matched Name (p) \d (q) \D (r) \w (s) \s Equivalent pattern 1. [^ 0-9] 2.[0-9] 3. [\r\t\n\f] 4. [A-Z a-z_0-9] P-2, q-1, r-4, s-3 P-1, q-1, r-3, s-4 P-1, q-2, r-4, s-3 P-2, q-1, r-3, s-4 None of these
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Form and its Elements
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning