Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Which of the following syntax is used to name a grouped portion of a match?
Home
Python
Which of the following syntax is used to name a grouped portion of a match?
0
votes
asked
Jan 11, 2021
in
Python
by
SakshiSharma
Which of the following syntax is used to name a grouped portion of a match?
i) ?G<group_name>
ii) ?P<group_name>
iii) <group_name>
iv) ?<group_name>
#python-grouped-portion
#grouped-portion-syntax
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 11, 2021
by
SakshiSharma
Correct Answer to the question is ii) ?P<group_name>
Related questions
0
votes
Q: Which of the following methods of a match object, mo, is used to view the named group portions of match in the form of a dictionary
asked
Jan 11, 2021
in
Python
by
SakshiSharma
#python-object
#object
Python-questions-answers
0
votes
Q: Which one of the following syntaxes is the correct syntax to read from a simple text file stored in ''d:\java.txt''?
asked
Jan 19, 2021
in
Python
by
SakshiSharma
#python-syntax
Python-questions-answers
0
votes
Q: Dictionary could be copied to another dictionary using which of following syntax?
asked
May 15, 2019
in
Python
by
Derya
#python
Python-questions-answers
0
votes
Q: In a match found by a defined pattern, how to group various portions of a match?
asked
Jan 11, 2021
in
Python
by
SakshiSharma
#python-pattern
Python-questions-answers
0
votes
Q: To match the specific XML elements in XMLT the syntax for given name “ rootnode” is
asked
Aug 25, 2020
in
XML
by
Robindeniel
#xmlt-syntax-rootnode
0
votes
Q: What does the match method of re module do?
asked
Jan 11, 2021
in
Python
by
SakshiSharma
#python-re-module
#python-module
#python-string
Python-questions-answers
+1
vote
Q: IndentationError: unindent does not match any outer indentation level
asked
Jan 10, 2021
in
Python
by
rajeshsharma
#python-error
indentationerror
Python-questions-answers
0
votes
Q: What are python modules? Name some commonly used built-in modules in Python?
asked
Sep 22, 2021
in
Python
by
sharadyadav1986
python-modules
Python-questions-answers
0
votes
Q: What is the syntax for creating an instance of a class in Python?
asked
May 23, 2020
in
Python
by
sharadyadav1986
#python-class-syntax
#syntax-python-class
Python-questions-answers
0
votes
Q: What Is The Syntax For Generator Expression In Python?
asked
Dec 19, 2019
in
Python
by
sharadyadav1986
#python-expression
Python-questions-answers
...