Regular Expressions 101

Library entries

finding case statements in select

Vote

0

Regular Expression
python

"
=?case\s([\w\.='\"><\(\)\]\[,]+\s)?when\s[\s\w\.='\"><\(\)\]\[,]+?\sthen\s[\s\w\.='\"><\(\)\]\[,]+?\s(else\s[\s\w\.='\"><\(\)\]\[,]+?\s)?end(\sAS\s)?
"
gix

Description

Loading markdown...
Submitted by anonymous - 4 years ago