PyMatch 一款输出正则表达式辅助工具

pyMatch旨在帮助您以简单的方式生成格式化和有效的输出。他使用Regex来整理和验证数据,然后您可以使用捕获的组生成格式化的输出。

安装
git clone https://github.com/rfunix/PyMatch.git PyMatch-dev
用法
要获取有关项目的基本选项和信息列表:
python pymatch.py?? -h
使用示例:
To use the groups obtained in the use Regex -g (Group number).
python pymatch.py -f “teste.txt” -p “^(011)(\d{4,5})(\d{4})$” -g “((1))(2)-(3)”
cat teste.txt | python pymatch.py -p “^(011)(\d{4,5})(\d{4})$” -g “((1))(2)-(3)”
文章来源及下载:

https://github.com/rfunix/PyMatch

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
相关推荐
  • 暂无相关文章
  • 评论 抢沙发

    请登录后发表评论

      暂无评论内容