摘要: 记录一下,利用正则表达式判断字符串是否为数值(匹配是否为整数,浮点数或者科学计数法数值) 参考博客 #include <QString> #include <QDebug> #include <iostream> #include <QRegExp> static bool isNumeric(QS 阅读全文
posted @ 2022-06-05 15:08 陈橙橙 阅读(1131) 评论(0) 推荐(0) 编辑