본문 바로가기 메뉴 바로가기

Data Makes Our Future

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Data Makes Our Future

검색하기 폼
  • 분류 전체보기 (740)
    • Data (18)
      • Statistics (10)
      • Analysis (8)
    • SQL (24)
      • Organize (3)
      • Install (2)
    • R (58)
      • Collection (4)
      • Process (33)
      • Analysis (11)
      • Visualize (4)
      • Install (3)
    • Python (56)
      • Collection (10)
      • Process (27)
      • Visualize (2)
      • Install (3)
    • Web (164)
      • API (16)
      • Spring (58)
      • JAVA (49)
      • Infra (11)
    • PS (366)
      • Algorithm (45)
      • Problem_Solving (311)
      • PS_Note (7)
    • Books (35)
    • ADsP (4)
    • eTc (15)
  • 방명록

MATCH (1)
[Python] 정규표현식 (re Module)

정규표현식 (re Module) #. re 모듈import re - 정규식 처리 모듈- 패턴 매칭, 치환, 분리 text = 'lololo' 1. findall 메서드 - re.findall(pattern, string, flags=0) - 패턴과 일치하는 모든 원소 출력 * 주로 사용 - 벡터 연산 불가re.findall('ol', text)['ol', 'ol'] 2. search 메서드 - re.search(pattern, string, flags=0) - 패턴과 일치하는 첫 번째 원소 출력 - 직접 출력 불가 => group 메서드 사용re.search('ol', text)re.search('ol' , text).group(0)'ol' 3. match 메서드- re.match(pattern, str..

Python/Process 2019. 2. 18. 14:11
이전 1 다음
이전 다음
최근에 올라온 글
최근에 달린 댓글
링크
  • Gitbook
  • resume
Total
Today
Yesterday
TAG
  • spring
  • C
  • R
  • DATA
  • 백준
  • DFS
  • coding
  • Algorithm
  • BFS
  • c++
  • PYTHON
  • BOJ
  • java
  • 시뮬레이션
  • dp
more

Blog is powered by Tistory / Designed by Tistory

티스토리툴바