Search packages, repositories and app categories

Package detailsv1.2.2

korea_regexp

It is a package that makes it easier to handle Korean by using regular expressions. 정규표현식을 이용해 한국어를 더 쉽게 다룰 수 있게 해주는 패키지입니다.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
215
Likes
36
Pub points
125

Install package

flutter pub add korea_regexp

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The korea_regexp package simplifies handling Korean text using regular expressions. It provides specialized patterns and utilities tailored for common Korean language operations, such as validating Korean characters, extracting Hangul, or detecting Korean-specific formatting. Designed for developers working with Korean text in Flutter apps, it enhances parsing and validation accuracy. The package supports all major platforms, making it ideal for cross-platform applications requiring robust Korean text processing.

Use cases

  • Validating Korean input fields
  • Extracting Hangul from mixed text
  • Parsing Korean names and addresses
  • Detecting Korean-specific patterns
  • Text normalization for Korean content
  • Filtering Korean characters in user input

Key features

  • Predefined regex patterns for Korean text
  • Support for Hangul, Hanja, and mixed scripts
  • Cross-platform compatibility
  • Easy integration with Flutter
  • Lightweight and focused on Korean language
  • Improved accuracy in Korean text matching

Suitable for

  • Flutter apps targeting Korean users
  • Internationalization (i18n) projects with Korean support
  • Form validation for Korean text
  • Text analysis tools for Korean content
  • Developers needing efficient Korean regex utilities

Considerations

  • Limited to Korean language features
  • Does not handle complex linguistic rules beyond regex
  • Requires understanding of basic regex syntax
  • Not suitable for full NLP tasks
  • Best used alongside other text processing packages

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

korea_regexp

All Contributors

https://github.com/bluewings/korean-regexp

해당 깃허브를 보고 자바스크립트로 구현된 한글 정규표현식 패키지를 다트로 변경한 플러그인입니다.

현재 구현된 기능

  • [x] 한글 자동완성을 위한 정규식
  • [x] 영타 -> 한타
  • [x] 한타 -> 영타
  • [x] 조사 자동 치환
  • [x] 자소 분리
  • [x] 자소 합치기

기능 설명

한글 자동완성을 위한 정규식

KakaoTalk_Photo_2021-11-01-23-59-33

  • initial search : 초성으로 검색 여부 ex) ㄱㅇㄷ -> 강원도

  • startsWith: 시작과 일치 (default : false)

  • endsWith: 마지막과 일치 (default : false)

  • ignoreSpace: 공백 무시 (default : false)

  • ignoreCase: 대소문자 무시 (default : false)

  • fuzzy: (default : false)

  • nonCapturingGroup: (default : false)

  • emptyMatchAll: empty string('') 입력 시 전체 매치 여부 (default : false)

한타 -> 영타

KakaoTalk_Photo_2021-11-01-23-58-35

영타 -> 한타

KakaoTalk_Photo_2022-03-21-23-08-40

자소 분리

KakaoTalk_Photo_2021-11-01-23-56-29

자소 합치기

KakaoTalk_Photo_2022-03-21-22-22-02

조사 자동 치환

KakaoTalk_Photo_2022-03-11-00-13-48

Contributors ✨

Issue, PR 언제나 환영입니다.

Thanks goes to these wonderful people (emoji key):

홍종표
홍종표

💻 📖 ⚠️ 🤔 🚧
viiviii
viiviii

💻 ⚠️ 🤔
Lee Jiwon
Lee Jiwon

🐛
BottlePumpkin
BottlePumpkin

🐛

This project follows the all-contributors specification. Contributions of any kind welcome!

Categories

Source repository

Projects using this package

No data available yet.