正则表达式

[i for i in ['1232','233','22'] if re.match('^233$', i)]

 

return  ['233']

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-04-07
  • 2022-12-23
  • 2021-10-05
猜你喜欢
  • 2022-12-23
  • 2022-01-10
  • 2021-08-03
  • 2022-12-23
  • 2021-04-04
  • 2021-10-05
  • 2021-12-09
相关资源
相似解决方案