Python regex to match words not having dot

前端 未结 5 1193
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-26 15:38

I want to accept only those strings having the pattern \'wild.flower\', \'pink.flower\',...i.e any word preceding \'.flower\', but the word should not contain dot. For example,

5条回答
提交回复
热议问题