Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to create the match Function in python

    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 454
    Comment on it

    In python match Function is a function witch attempts to match RE pattern to string with optional flags and re.match function returns a match object on success, None on failure.
    Here is the syntax for this function:

    re.match(pattern, string, flags=0)
    

    Here is the description of the parameters:
    1- pattern: pattern is a regular expression to be matched.
    2- string: string is which would be searched to match the pattern at the beginning of string.

 1 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: