Regular expression in PostgreSQL LIKE clause

后端 未结 2 596
心在旅途
心在旅途 2020-12-09 16:20

I\'m stuck with a simple regular expression. Not sure what I\'m missing. A little rusty on regex skills.

The expression I\'m trying to match is:

sele         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 16:40

    PostgreSQL's LIKE operator doesn't support [charlist], however SIMILAR TO does.

    check HERE for a comprehensive list across DBs

提交回复
热议问题