Special Syntax with Parentheses in Python

PythonServer Side ProgrammingProgramming

Sr.No.Example & Description
1R(?#comment)
Matches "R". All the rest is a comment
2R(?i)uby
Case-insensitive while matching "uby"
3R(?i:uby)
Same as above
4rub(?:y|le))
Group only without creating \1 backreference
raja
Published on 31-Jan-2020 07:44:14
Advertisements