This points out an interesting issue with how the OP formatted his post. Because you fed
YAPE::Regex::Explain a single-quote constructed string, it saw a whitespace character, whereas when I assumed the OP had wrapped the expression directly in
m<...> I expected a backslash or an 's' in the class. I think your result is likely more logical.