day24 --- RE module part finishing

Regular module (Re)


 

1. What is a regular

Regular use of some symbol combinations that have special meaning or the method described character string together (referred to as regular expressions). Or: Regular rule is used to describe a class of things. 
(In Python) it is embedded in Python, and is achieved by re module. Regular expression pattern is compiled into a series of byte code, written in C and then executed by the matching engine.

2, the conventional pattern matching

Guess you like

Origin www.cnblogs.com/surpass123/p/12612515.html