The function prototype of re.match is: re.match(pattern, string, flags)
The first parameter is a regular expression, here it is "(\w )\s". If the match is successful, a Match is returned, otherwise a None is returned;
The second parameter represents the string to be matched;
The third parameter is the Peugeot bit, which is used to control the matching method of regular expressions, such as: whether to be case-sensitive, multi-line matching, etc.
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn