Regular Expressions 101

Library entries

Ternary Operator replacement with OR

Vote

0

Regular Expression
python

"
(([\|&]|return|[^=<>|\*]=|\(|\[)\s*)([a-zA-Z\._]+)\s*\?\s*\3\s*:\s*
"
gm

Description

Loading markdown...
Submitted by anonymous - a year ago