当前位置:网站首页>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
边栏推荐
- Rhcsa third day operation
- What should the future of the Internet be like when Silicon Valley employees flee the big factory and rush to Web3| Footprint Analytics
- Go learning notes (4) basic types and statements (3)
- 2022-02-15 Daily: 2022 AAAI fellow release
- CesiumJS 2022^ 源码解读[7] - 3DTiles 的请求、加载处理流程解析
- University of Electronic Science and technology | playback of clustering experience effectively used in reinforcement learning
- Design e-commerce seckill system
- Software testing skills, JMeter stress testing tutorial, obtaining post request data in x-www-form-urlencoded format (24)
- Set, weakset, map, weakmap in ES6
- Hcie security Day10: six experiments to understand VRRP and reliability
猜你喜欢

2022 low voltage electrician examination and low voltage electrician simulation examination question bank

17 websites for practicing automated testing. I'm sure you'll like them

How to choose cache read / write strategies in different business scenarios?

MySQL - database backup

全网都在疯传的《老板管理手册》(转)

treevalue——Master Nested Data Like Tensor

Notes on MySQL related knowledge points (startup, index)

(5) User login - services and processes - History Du touch date stat CP

Discussion Net legacy application transformation

Hcie security Day11: preliminarily learn the concepts of firewall dual machine hot standby and vgmp
随机推荐
Hcie security Day11: preliminarily learn the concepts of firewall dual machine hot standby and vgmp
What if the Flink SQL client exits and the table is emptied?
淺析 Ref-NeRF
9 pyqt5 qscrollarea scroll area and qscrollbar scroll bar
Hcie security Day12: supplement the concept of packet filtering and security policy
Last week's content review
QFileDialog
Measurement fitting based on Halcon learning -- Practice [1]
CesiumJS 2022^ 源码解读[7] - 3DTiles 的请求、加载处理流程解析
MySQL——SQL注入问题
Is it OK for fresh students to change careers to do software testing? The senior answered with his own experience
The post-90s resigned and started a business, saying they would kill cloud database
MySQL——idea连接MySQL
抓包整理外篇——————autoResponder、composer 、statistics [ 三]
Mysql database ----- common commands of database (based on database)
Experience summary of database storage selection
Capturing and sorting out external articles -- autoresponder, composer, statistics [III]
同花顺开户注册安全靠谱吗?有没有风险的?
Kernel symbol table
Quickly distinguish slices and arrays