Giter VIP home page Giter VIP logo

automation's Introduction

Automation - 改进的BRICS

What is Automation

brics 是一个高性能的自动机,包含了一个正则表达式引擎。 可惜, 这个正则表达式引擎有许多使用上的限制。 已知的限制如下:

内置的名称与常用的字符冲突,导致很多在其它引擎中不需要转义的字符都要转义
不支持常用的转义名称,如\w \s
不支持非贪心匹配
不支持捕获 group

本项目试图解决这些问题。

ChangeLog

增加 \w \W \d \D \h \H \v \V \s \S \r \n \t \f \a \e
默认关闭 AUTOMATION, INTERVAL 选项, 避免 <> 必须转义 的要求
增加 \p{字符类别}, \P{字符类别} 功能,兼容其他正则引擎
增加 .*? 的非贪心匹配功能,兼容其他正则引擎
修改内置自动机的加载方式,且默认加载全部内置自动机

Acknowledgements

tommyettinger/gwt-automaton

TODO:

catch group

automation's People

Contributors

zhouzusheng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.