入门客AI创业平台(我带你入门,你带我飞行)
博客笔记
31
2014-05
C函数之移动增删文件 2014-05-31
1)在学习makefile将生成的文件放到指定目录下的过程中,发现这对于一个makefile白菜来说是比较困难的,因而我使用了rename函数来实现该功能,而不
31
2016-10
linux c实现文件复制 2016-10-31
#include #include #include #include #include #include #include #define BUFFER_SIZE 4096 int main(int argc,char* argv[]) {    if(argc != 3)    {       printf("Usage:%s src dest ",
15
2010-04
MoveFile, MoveFileEx, CopyFile的几点心得 C++ 2010-04-15
关键字: MoveFile, MoveFileEx, CopyFile, 文件只读属性, 文件隐藏属性, GetFileAttributes, SetFileAttributes, 文件属性的读取与设置 1. 文件的只读和隐藏属性对函数
09
2014-12
java正则表达式匹配所有数字+匹配纯数字+匹配带小数点数字 2014-12-09
用于匹配的正则表达式为 :([1-9]d*.?d*)|(0.d*[1-9]) ( [1-9] :匹配1~9的数字; d :匹配数字,包括0~9; * :紧跟在 d 之后,表明可以匹配零个
21
2010-02
整数,小数及常用的正则表达式 2010-02-21
匹配中文字符的正则表达式: [/u4e00-/u9fa5]评注:匹配中文还真是个头疼的事,有了这个表达式就好办了 匹配双字节字符(包括汉字在内):[^/x00-/xff]评
23
2016-10
正则表达式-提取字符串中的整数或小数 2016-10-23
不废话,直接上表达式  (d+(.d+)?) 作用,字符串中如果是整数则匹配整数,如果是小数则匹配小数。 阅读更多
07
2011-06
Python 正则表达式(模式匹配) 2011-06-07
1.  Python正则式的基本用法 1.1基本规则 1.2重复 1.2.1最小匹配与精确匹配 1.3前向界定与后向界定 1.4组的基本知识 2.  re模块的基本函数 2.1使
10
2014-09
Python 正则表达式验证浮点数 2014-09-10
1. Mandatory sign, integer, fraction, and exponent ^[-+][0-9]+.[0-9]+[eE][-+]?[0-9]+$ 2. Mandatory sing, integer, and fraction, but no exponent ^[-+][0-9]+.[0-9]+$ 3. Optional sign, mandatory
15
2010-09
C# Regex.IsMatch (正则表达式验证:数字、小数点、邮件、计算表达式) 2010-09-15
具体使用可参考:http://blog.csdn.net/tsinfeng/archive/2010/07/16/5739366.aspx public bool isInt(string str)         {             //^([+-]?)表示加减号只能出现
07
2017-08
正则表达式匹配正负小数以及整数 2017-08-07
直接就是干: ^[\+\-]?[\d]+(\.[\d]+)?$ 阅读更多