Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. '[^']+' # NOt a single quote between 2 single quote (i.e. strings we don't want to convert)
  2. (*SKIP) # skip this string
  3. (*FAIL) # fail to match
  4. | # OR
  5. w+ # 1 or more word character
  6.  
  7. L$0 # lowercase the whole match (i.e. the string NOT between quotes)
  8.  
  9. case
  10. when table.attribute = 'CaseSensitiveStringValue'
  11. then 'OutcomeValue'
  12. else 'OTHERValue'
  13. end as casename
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement