Perhaps you could try using msmo\'s validating regex to find where the regex is, then use $regml to use the pattern.