Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: 修复正则表达式第五节加粗*显示问题#1202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cpfy wants to merge2 commits intoCyC2018:master
base:master
Choose a base branch
Loading
fromcpfy:master
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletionsnotes/正则表达式.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,7 +12,7 @@
* [九、前后查找](#九前后查找)
* [十、嵌入条件](#十嵌入条件)
* [参考资料](#参考资料)
<!-- GFM-TOC -->
<!-- GFM-TOC -->


## 一、概述
Expand DownExpand Up@@ -112,7 +112,7 @@ abc[^0-9]
## 五、重复匹配

- **\+** 匹配 1 个或者多个字符
- **\** * 匹配 0 个或者多个字符
- **\*** 匹配 0 个或者多个字符
- **?** 匹配 0 个或者 1 个字符

**应用**
Expand DownExpand Up@@ -283,7 +283,7 @@ IP 地址中每部分都是 0-255 的数字,用正则表达式匹配时以下

**替换正则表达式**

在第一个子表达式查找的结果加上 () ,然后加一个空格,在第三个和第五个字表达式查找的结果中间加上 - 进行分隔。
在第一个子表达式查找的结果加上 () ,然后加一个空格,在第三个和第五个子表达式查找的结果中间加上 - 进行分隔。

```
($1) $3-$5
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp