any86 / any-rule

🦕 常用正则大全, 支持web / vscode / idea / Alfred Workflow多平台
https://any-rule.vercel.app/
MIT License
8.53k stars 830 forks source link

我有更好的正则: 小数 #234

Closed ld269440877 closed 1 year ago

ld269440877 commented 2 years ago

[+-]?(\d+([.]\d*)?([eE][+-]?\d+)?|[.]\d+([eE][+-]?\d+)?)

123 123. 123.24 .24 2e-2 = 2 10 pow -2 = 2 0.1 4E+4 = 4 10 pow 4 = 4 10 000

any86 commented 2 years ago

感谢反馈, 稍后同步