Skip to content

Commit bc0fc42

Browse files
committed
ADD 정규식
1 parent 4b3141b commit bc0fc42

7 files changed

Lines changed: 188 additions & 19 deletions

File tree

_data/pageMap.yml

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
summary: '새 PC 를 받았을때 개발환경 세팅방법 (Java, Spring 개발 기준)'
1313
parent: index
1414
url: /wiki/개발환경세팅
15-
updated: '2020-09-03 01:08:01 +0900'
15+
updated: '2021-04-20 06:14:25 +0900'
1616
children: []
1717
기본적인내용:
1818
type: wiki
@@ -28,7 +28,7 @@
2828
summary: 'Java Application (Spring) 성능 튜닝에 대해서'
2929
parent: DevOps
3030
url: /wiki/성능튜닝
31-
updated: '2019-07-23 01:47:35 +0900'
31+
updated: '2020-11-05 01:19:08 +0900'
3232
children: []
3333
연말정산:
3434
type: wiki
@@ -38,13 +38,21 @@
3838
url: /wiki/연말정산
3939
updated: '2020-01-20 17:46:58 +0900'
4040
children: []
41+
정규식:
42+
type: wiki
43+
title: 정규식
44+
summary: 정규식
45+
parent: index
46+
url: /wiki/정규식
47+
updated: '2021-05-25 21:42:09 +0900'
48+
children: []
4149
조직관리:
4250
type: wiki
4351
title: 조직관리
4452
summary: '조직관리에 유용한 정보 정리'
4553
parent: index
4654
url: /wiki/조직관리
47-
updated: '2020-09-07 10:47:10 +0900'
55+
updated: '2021-04-16 18:04:20 +0900'
4856
children: []
4957
Airflow:
5058
type: wiki
@@ -125,7 +133,7 @@ DBMS:
125133
parent: index
126134
url: /wiki/DBMS
127135
updated: '2018-12-06 18:54:36 +0900'
128-
children: [Hbase, MS-SQL, Transaction]
136+
children: [Hbase, MS-SQL, MySQL, Transaction]
129137
DevOps:
130138
type: wiki
131139
title: DevOps
@@ -180,7 +188,7 @@ Gradle:
180188
summary: 'Gradle 에 필요한 것들을 정리'
181189
parent: index
182190
url: /wiki/Gradle
183-
updated: '2020-03-03 08:21:04 +0900'
191+
updated: '2021-03-09 09:56:51 +0900'
184192
children: []
185193
haproxy:
186194
type: wiki
@@ -212,7 +220,7 @@ index:
212220
summary: 'anyjava wiki index'
213221
parent: null
214222
url: /wiki/index
215-
updated: '2020-10-06 02:03:47 +0900'
223+
updated: '2021-05-25 21:39:05 +0900'
216224
children: []
217225
Infra:
218226
type: wiki
@@ -252,15 +260,15 @@ Java:
252260
summary: ""
253261
parent: index
254262
url: /wiki/Java
255-
updated: '2020-08-21 02:24:26 +0900'
263+
updated: '2021-03-07 01:01:10 +0900'
256264
children: [Enum, Interface, Jackson, Optional, PostContrunct]
257265
JPA:
258266
type: wiki
259267
title: JPA
260268
summary: 'JPA 활용에 대한 모든 것'
261269
parent: Spring
262270
url: /wiki/JPA
263-
updated: '2020-01-30 11:09:22 +0900'
271+
updated: '2021-02-10 01:07:34 +0900'
264272
children: [QueryDsl]
265273
JUnit5:
266274
type: wiki
@@ -292,7 +300,7 @@ k8s:
292300
summary: Kubernetes
293301
parent: Infra
294302
url: /wiki/k8s
295-
updated: '2020-02-18 14:47:09 +0900'
303+
updated: '2021-04-28 13:45:55 +0900'
296304
children: []
297305
Kafka:
298306
type: wiki
@@ -308,7 +316,7 @@ Kotlin:
308316
summary: Kotlin
309317
parent: index
310318
url: /wiki/Kotlin
311-
updated: '2019-10-01 08:49:55 +0900'
319+
updated: '2021-03-28 19:11:39 +0900'
312320
children: [Kotlin_In_Action]
313321
Kotlin_In_Action:
314322
type: wiki
@@ -356,7 +364,15 @@ MSA:
356364
summary: 'Microservice Architecture'
357365
parent: index
358366
url: /wiki/MSA
359-
updated: '2020-09-15 03:04:13 +0900'
367+
updated: '2021-04-28 13:46:36 +0900'
368+
children: []
369+
MySQL:
370+
type: wiki
371+
title: MySQL
372+
summary: MySQL
373+
parent: DBMS
374+
url: /wiki/MySQL
375+
updated: '2021-04-03 04:03:59 +0900'
360376
children: []
361377
NoSQL:
362378
type: wiki
@@ -444,7 +460,7 @@ Spring_Boot:
444460
summary: 'Spring Boot 를 사용하면서 알게 된점'
445461
parent: Spring
446462
url: /wiki/Spring_Boot
447-
updated: '2019-02-01 20:47:54 +0900'
463+
updated: '2021-02-14 00:08:53 +0900'
448464
children: []
449465
Spring_Boot_Actuator:
450466
type: wiki
@@ -500,7 +516,7 @@ Transaction:
500516
summary: 트랜잭션
501517
parent: DBMS
502518
url: /wiki/Transaction
503-
updated: '2020-10-06 02:07:35 +0900'
519+
updated: '2020-10-06 02:22:36 +0900'
504520
children: []
505521
Web:
506522
type: wiki

_data/tagList.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@
5353
- 'mq,'
5454
- 'ms-sql,'
5555
- 'msa,'
56+
- mysql
5657
- 'nas,'
5758
- 'NoSql,redis'
5859
- 'oop,'
5960
- optional
6061
- querydsl
6162
- 'queue,'
6263
- 'rabbit,'
64+
- regex
6365
- secure
6466
- 'secure,'
6567
- slf4j
@@ -80,7 +82,6 @@
8082
- 'test,junit'
8183
- thread
8284
- tip
83-
- tools
8485
- transaction
8586
- validation
8687
- webflux

_data/tagMap.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
회고:
22
- {fileName: 2018년회고}
3-
tools:
4-
- {fileName: 개발환경세팅}
53
'spring,':
64
- {fileName: 기본적인내용}
75
- {fileName: 성능튜닝}
@@ -22,6 +20,8 @@ tip:
2220
- {fileName: 성능튜닝}
2321
'연말정산,공인인증서':
2422
- {fileName: 연말정산}
23+
regex:
24+
- {fileName: 정규식}
2525
manager:
2626
- {fileName: 조직관리}
2727
'airflow,':
@@ -128,6 +128,8 @@ dbms:
128128
- {fileName: MS-SQL}
129129
'msa,':
130130
- {fileName: MSA}
131+
mysql:
132+
- {fileName: MySQL}
131133
'NoSql,redis':
132134
- {fileName: NoSQL}
133135
'Java,':

_wiki/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout : wiki
33
title : index
44
summary : anyjava wiki index
55
date : 2018-08-15 19:41:36 +0900
6-
updated : 2021-04-03 04:03:21 +0900
6+
updated : 2021-05-25 21:39:05 +0900
77
tags :
88
toc : true
99
public : true
@@ -69,6 +69,7 @@ latex : false
6969
* [[CodeReview]]
7070
* [[SonarQube]]
7171
* [[Synology]]
72+
* [[정규식]]
7273

7374
* [[조직관리]]
7475
* [[Books]]

_wiki/정규식.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout : wiki
3+
title : 정규식
4+
summary : 정규식
5+
date : 2021-05-25 21:39:29 +0900
6+
updated : 2021-05-25 21:42:09 +0900
7+
tags : regex
8+
toc : true
9+
public : true
10+
parent : index
11+
latex : false
12+
---
13+
* TOC
14+
{:toc}
15+
16+
## 정규식
17+
18+
* 정규식을 이용하여 특정 문자열을 바꾼다. (중간에 아무 문자열이나 들어가도 상관없음)
19+
* valid N 을 valid Y 로 바꿈.
20+
21+
```bash
22+
sed -E -i 's/\"valid\":\"N\",\"processDttm\"(.+)\"code":\"EFIELD\",\"desc\":\"adPurpose is Not Null/\"valid\":\"Y\",\"processDttm\"\1\"code\":\"PASSED\",\"desc\":\"PASSED/g' message_test_file.txt
23+
```
24+
25+
* sed 명령어
26+
* `-i`: input 파일을 직접 변경함.
27+
* `-E`: 정규식을 이용해서 변경함.
28+

package-lock.json

Lines changed: 123 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dependencies": {
77
"yamljs": "^0.3.0"
88
},
9-
"devDependencies": {},
109
"scripts": {
1110
"test": "echo \"Error: no test specified\" && exit 1"
1211
},

0 commit comments

Comments
 (0)