当前位置:网站首页>An expression that regularly matches one of two strings
An expression that regularly matches one of two strings
2022-07-03 21:22:00 【Teng Qingshan】
When you need to match one of multiple strings , Such as : matching abc|def One of the two strings is captured using a non tuple .
The syntax of non tuple capture is :
(?:exp)
For example, matching all the pictures in a web page url, And the picture of url Usually, the jpg,png End of equal suffix , The following code demonstrates how to match pictures url
#(?:jpg|png|gif) Match one of the three strings
边栏推荐
- Redis data migration (II)
- treevalue——Master Nested Data Like Tensor
- The post-90s resigned and started a business, saying they would kill cloud database
- Hcie security Day11: preliminarily learn the concepts of firewall dual machine hot standby and vgmp
- [vulnhub shooting range] impulse: lupinone
- jvm jni 及 pvm pybind11 大批量数据传输及优化
- leetcode-540. A single element in an ordered array
- Study diary: February 14th, 2022
- 内存分析器 (MAT)
- 一台服务器最大并发 tcp 连接数多少?65535?
猜你喜欢

MySQL——索引

Yyds dry goods inventory TCP & UDP

内存分析器 (MAT)

Discussion Net legacy application transformation

Yiwen teaches you how to choose your own NFT trading market

treevalue——Master Nested Data Like Tensor

Memory analyzer (MAT)

MySQL——JDBC

Tidb's initial experience of ticdc6.0

Etcd raft Based Consistency assurance
随机推荐
UI automation test: selenium+po mode +pytest+allure integration
鹏城杯 WEB_WP
Discussion Net legacy application transformation
Global and Chinese market of wall mounted kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
Visiontransformer (I) -- embedded patched and word embedded
Install and use Chrony, and then build your own time server
Xai+ network security? Brandon University and others' latest "interpretable artificial intelligence in network security applications" overview, 33 page PDF describes its current situation, challenges,
Experience summary of database storage selection
Idea shortcut word operation
C程序设计的初步认识
内存分析器 (MAT)
[vulnhub shooting range] impulse: lupinone
MySQL——数据库备份
Tidb's initial experience of ticdc6.0
强化學習-學習筆記1 | 基礎概念
"Designer universe" APEC safety and health +: environmental protection Panda "xiaobaobao" Happy Valentine's Day 2022 | ChinaBrand | Asia Pacific Economic media
常用sql集合
Kernel symbol table
Etcd raft Based Consistency assurance
[Yugong series] go teaching course 002 go language environment installation in July 2022