Code Monkey home page Code Monkey logo

Comments (10)

k8scat avatar k8scat commented on June 8, 2024

哈哈哈哈,喜欢可以点个Star

from formair.

fox85 avatar fox85 commented on June 8, 2024

已点 💯

另外想请教一下,正则内怎么匹配多个关键字,比如我想在把几个关键字“发票”,“增值税”类似的字眼以一个正则的表达式来写的话应该是怎么写的?

from formair.

k8scat avatar k8scat commented on June 8, 2024

感谢关注本项目!

subject: ".(发票|增值税)."
content: ".(发票|增值税)."

re.match(r'.*(发票|增值税).*', '这是发票')

from formair.

fox85 avatar fox85 commented on June 8, 2024

谢谢

我尝试运行时报错,请楼主帮忙看看

root@debian:~/ForMaiR# python3 main.py config.yaml
Traceback (most recent call last):
File "main.py", line 8, in
from formair.forward import forward_emails
File "/root/ForMaiR/formair/forward.py", line 4, in
from formair import pop3, smtp
File "/root/ForMaiR/formair/pop3.py", line 9, in
from formair.utils import generate_attachment
File "/root/ForMaiR/formair/utils.py", line 4, in
import yaml
ModuleNotFoundError: No module named 'yaml'

from formair.

k8scat avatar k8scat commented on June 8, 2024

需要安装 PyYaml 依赖

pip install PyYaml

from formair.

fox85 avatar fox85 commented on June 8, 2024

谢谢!

请问是否只支持POP3? IMAP支持吗?

from formair.

k8scat avatar k8scat commented on June 8, 2024

谢谢!

请问是否只支持POP3? IMAP支持吗?

目前不支持 IMAP

from formair.

fox85 avatar fox85 commented on June 8, 2024

好的,请问会计划支持吗

from formair.

fox85 avatar fox85 commented on June 8, 2024

re.match(r'.(发票|增值税).', '这是发票')

请问楼主,这一行配置是什么意思,如何使用的?在相关文档内没找到说明,谢谢

from formair.

k8scat avatar k8scat commented on June 8, 2024

re.match(r'.(发票|增值税).', '这是发票')

请问楼主,这一行配置是什么意思,如何使用的?在相关文档内没找到说明,谢谢

不是配置,是正则示例

from formair.

Related Issues (4)

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.