Is there a way ro get a Regex in Ruby to validate an entire string?

后端 未结 0 1131
刺人心
刺人心 2020-12-09 12:13

I\'m working on a calculator and would like to use Regex in Ruby to validate that user input into the terminal is definitely a question. I use /^([0-9]+)*([\\+\\-\\*\\

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