This plugin could find matched pattern in a sequence of symbols. I'm not the author of this addon, I just ported it.