\s{0,}any whitespace character, repeated any number of times
Ythe literal Y (8910 / 1318 / 5916) (case sensitive)
ythe literal y (12110 / 1718 / 7916) (case sensitive)
\s{0,}any whitespace character, repeated any number of times
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string