MM-9167

fix issue with broken regex for the link stylesheet, basically I use a fingerprint
here of what an inlineable link entity would look like

change from using shorthand // defined test to using long form defined ternary operator,
I think this will get this piece of code passing the automated perl 5.8.9 tests