Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のルールで負の数と正の数の両方を許可する正規表現を構築しようとしています。
誰でも私を助けることができますか?事前にどうもありがとう。
この正規表現を確認してください。
^[+-]?[0-9]{1,9}(?:\.[0-9]{1,2})?$
この正規表現は言う