• This project
    • Loading...
  • Sign in

2021-1-capstone-design2 / 2017103967

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • 2017103967
  • code
  • similarity_plotter
  • file_parser.py
  • 김성주's avatar
    codes and final report · cb318f7f
    cb318f7f
    김성주 authored 2021-06-14 05:53:35 +0900
file_parser.py 294 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import re
from utils import remove_string

def parse_keywords(line):
    line = line.strip()
    line = remove_string(line)
    result = ''

    for c in line:
        if re.match('[A-Za-z_@0-9]', c):
            result += c
        else:
            result += ' '

    return result.split(' ')