Should those regexes be anchored? s/^i_// instead of s/i_//.
-- rir Live the dream.
In reply to Re: Shorter Code by rir in thread Shorter Code by Lhamo_rin