Skip to content

provides to create chain with regular expression and handle result with on_match and custom collectors

Notifications You must be signed in to change notification settings

Platron-Tech/python-regex-matcher-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motivation

Most common use cases

  • if your business model was constructed on regular expression
  • if handling regex bothers you
  • if you want to simplify the regexes

Abilities

  • Provides creating chain on regexes. Each chain able to know next. The chain would be completed when regex finds result
  • Match event which in a chain can be handled by on_match function
  • All chain results can be handled by a single collector

class diagram

Requirements

pip install nltk

Running Tests

python -m unittest discover -p "*Test.py"

About

provides to create chain with regular expression and handle result with on_match and custom collectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages