import re

# Input string
value = "Tiny programs that process text."

match = re.search("(process.*)", value)
if match:
    print("Search result:", match.group(1))

match = re.match("(pr.*)", value)
if match:
    print("match:", match.group(1))

a54b22af5dfc012d12ca8b4a36a9f83d6e4ed26e
<mask token>

<mask token>
if match:
    print('Search result:', match.group(1))
<mask token>
if match:
    print('match:', match.group(1))

<mask token>
value = 'Tiny programs that process text.'
match = re.search('(process.*)', value)
if match:
    print('Search result:', match.group(1))
match = re.match('(pr.*)', value)
if match:
    print('match:', match.group(1))

import re
value = 'Tiny programs that process text.'
match = re.search('(process.*)', value)
if match:
    print('Search result:', match.group(1))
match = re.match('(pr.*)', value)
if match:
    print('match:', match.group(1))

import re

# Input string
value = "Tiny programs that process text."

match = re.search("(process.*)", value)
if match:
    print("Search result:", match.group(1))

match = re.match("(pr.*)", value)
if match:
    print("match:", match.group(1))
