Convert Sequence.trimmed to a .match attribute