common-regex icon indicating copy to clipboard operation
common-regex copied to clipboard

:jack_o_lantern: 常用正则表达式 - 收集一些在平时项目开发中经常用到的正则表达式。

Results 6 common-regex issues
Sort by recently updated
recently updated
newest added
trafficstars

^-?([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0)$ ![image](https://user-images.githubusercontent.com/23652139/107018320-3fc05480-67db-11eb-90ac-5697f7f73016.png) ^(-?[1-9]\d*\.\d+)$|^(-?0.\d*)$这样会不会好点

请问图例是用什么软件绘制的呢?很漂亮

参考[Unicode12.0.0/ch18.pdf](https://www.unicode.org/versions/Unicode12.0.0/ch18.pdf), 汉字范围可以调整为`[\u4e00-\u9fff]`

原正则的匹配次数为`{0,}`,而至少应该匹配1次: ``` ^[\u4e00-\u9fa5]{1,}$ ```