Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教对于正则表达式的理解 #15

Closed
tangmaomao16 opened this issue Oct 12, 2016 · 1 comment
Closed

请教对于正则表达式的理解 #15

tangmaomao16 opened this issue Oct 12, 2016 · 1 comment

Comments

@tangmaomao16
Copy link

老师,正则表达式的主要意义是在某些语句中搜索或替换某些字符,对吗?
我有时候看不懂正则表达式里的 / 或 \ 或 #,怎么解读比较好?

@PENGZhaoqing
Copy link
Owner

正则表达式主要目的是用来匹配目标字符串并筛选出具有特定特征的字符串

做文本处理用的比较多,一般了解一下常用的即可,若要系统学习,可以看下面:
http://www.jb51.net/tools/zhengze.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants