Can Someone please explain what the ? does in this expression?

后端 未结 0 828
说谎
说谎 2021-01-01 21:18

Code: pattern = compile(\'^[-+]?[0-9]*.[0-9]+$\')

Explain the role of \'?\' in this regex exp

相关标签:
回答
  • 消灭零回复
提交回复
热议问题