From: basi Date: 2005-12-22T08:07:49+09:00 Subject: Regex: Up for a challenge? Hello, Just having an outstandingly hard time to even come close to being able to translate the following string sequences in one or a series of regular expressions. These are allowable prefix combinations in a language I'm doing some text analysis on. i pa(ki) pag ma i ka pa(ki) pag ma pa ka ma(ki) pag ka man m(an) ag ka sin m(an) ag kan(da) m(an) ag si(pag) m(an) ag pa The first one allows the following choices: i, pa, pag, ipa, ipag, ipapag, papag, ipaki, ipakipag, paki, pakipag The syllable inside parentheses can only be selected if the syllable or letter it is attached to is selected. Just something to take our minds away from Eckel-ysteria. Thanks again, basi