bc... [母]
Home » Source Code » python的正则表达式

python的正则表达式

stven_zhz
2018-01-09 08:37:15
The author
View(s):
Download(s): 0
Point (s): 1 
Category Category:
pythonpython AllAll

Description

python的正则表达式常用的几个点,包含:1导入,2:元字符之类,内容预览:

\元字符
# \d 匹配任何十进制数;相当于[0-9]
# \D 匹配任何非数字字符;相当于[^0-9]
# \s 匹配任何空白字符;相当于[\t\n\r\f\v]
# \S 匹配任何非空白字符;相当于[^\t\n\r\f\v]
# \w 匹配任何字母数字字符;相当于[a-zA-Z0-9_]
# \W 匹配任何非字母数字字符;相当于[^a-zA-Z0-9_]
# \b 匹配一个单词边界,指单词和空格间的位置



Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

python的正则表达式 (1.29 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D