awesome-devtools:for面向现代全栈软件工程师的精选浏览器书签,工具和资源列表
2021-02-01 14:37:24 4KB list awesome tools regex
1
微匹配 javascript / node.js的全局匹配。 迷你匹配和多重匹配的替代品和更快的替代品。 请考虑关注该项目的作者 ,并考虑为该项目以显示您的 :red_heart_selector: 和支持。 目录 细节 安装 使用安装: $ npm install --save micromatch 快速开始 const micromatch = require ( 'micromatch' ) ; // micromatch(list, patterns[, options]); 包含字符串列表和一个或多个glob模式: console . log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ 'f*' , 'b*' ] ) ) //=> ['foo', 'bar', 'baz'] console . log ( micromatch ( [ 'foo' , 'bar' , 'baz' , 'qux' ] , [ '*' , '!b*' ] ) ) //=> ['foo', 'qux'] 使用进行布尔匹配:
2021-01-30 20:08:35 106KB javascript bash node regex
1
正则表达式是一个很强的工具,可以在你的软件中增强查找、替换、匹配等功能。附件中封装了Henry Spencer的regex library源码,有说明和范例,纯C可移值,简单易用。
2020-03-30 19:56:20 17KB c regex
1
linux下的C语言正则表达式头文件和源文件: regex.h regex.cpp
2019-12-26 03:12:29 53KB regex
1
public static String[] split(String s, String regex) s参数为待拆分字符串, regex参数有两种格式: 单字符的字符串(长度1),功能如下:split(“ab#12#453”, “#”) 返回带5个元素的数组:ab, #, 12, #, 453 带中括号的字符串(长度>2),功能如下:split(“a?b?gf#e”, “[?#]”) 返回带7个元素的数组:a, ?, b, ?, gf, #, e
2019-12-21 22:05:06 2KB 拆分字符串
1
个人学习时的一个总结,希望与各位一起总结交流==============================上个资源发布有问题,请下载这个资源
2019-12-21 21:36:24 61KB expression 正则 Regex regular
1
linux下posix标准的正则表达式库,支持regcomp, regexec等,可以放到vs2010或vs2012下进行编译。
2019-12-21 19:53:54 49KB regex c++ posix linux
1
相关博客http://blog.csdn.net/gnail_oug/article/details/51260106
2019-12-21 19:47:55 20KB regex 正则表达式
1
gpstk安装时要用的,其官方网站已经不提供这个版本
2019-12-21 19:40:05 1.09MB gpstk regex
1
vc6可利用boost库使用正则表达式。支持vc6的最高boost版本是1.34.1。很多人编译boost库遇到这样那样的问题。这个是我编译好的库,直接解压后,在vc中设置好include和lib路径即可使用。 测试程序: #include #include #include #include #include using namespace std; using namespace boost; int main( int argc, char * argv[]) { regex expression_r_r_r_r( " (\\d+)-(\\d+)-(\\d+) " ); // 注意转义方式 string in ( " Today: 2007-06-23 " ); cmatch what; // 如果用 regex_match 方法将需要完全匹配, // 不能在字符串中找寻模式,可用于验证输入 if (regex_search( in.c_str(), what, expression_r_r_r_r)) { for ( int i = 0 ;i < what.size();i ++ ) { cout << " str : [" << what[i].str() << "]" << endl; } } return 0 ; }
2019-12-21 19:26:03 20.71MB boost vc6 regex
1