Create a Python program to search for a particular pattern in a string of text and return all matching substrings.
let text = "hey this is a string to match for a pattern";
import re

text = "hey this is a string to match for a pattern"
pattern = "match"

# Find all matches
matches = re.findall(pattern, text)

# Print the matches
print(matches)
# Output: ['match']