C++正则表达式引擎 RE2

码农软件 · 软件分类 · 正则表达式工具 · 2019-10-09 11:57:50

软件介绍

RE2 是一个快速、安全和线程友好的C++正则表达式引擎。

例子:

// Copyright 2008 The RE2 Authors.  All Rights Reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include<re2/re2.h>
#include<re2/filtered_re2.h>
#includeusing namespace re2;

int main(void) {
FilteredRE2 f;
int id;
f.Add("a.*b.*c", RE2::DefaultOptions, &id);
vectorv;
f.Compile(&v);
vectorids;
f.FirstMatch("abbccc", ids);

if(RE2::FullMatch("axbyc", "a.*b.*c")) {
printf("PASS\n");
return 0;
}
printf("FAIL\n");
return 2;
}

本文地址:https://codercto.com/soft/d/16372.html

微机原理与接口技术

微机原理与接口技术

李文英、李勤、刘星、宋蕴新 / 清华大学出版社 / 2001-9 / 26.00元

《高等院校计算机应用技术规划教材•应用型教材系列•微机原理与接口技术》是“高职高专计算机系列教材”之一。全书包括微机原理、汇编语言、接口技术三部分内容。微机原理部分讲述了80x86的内部结构及工作原理、半导体存储器及其系统、微型机总线结构等。汇编语言部分讲述了指令系统、编程技巧。接口技术部分讲述了中断系统、中断控制器、并行接口、串行接口、DMA控制器、定时器,以及A/D、D/A转换器等常用芯片的硬......一起来看看 《微机原理与接口技术》 这本书的介绍吧!

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具