> ^--(|.|..|...(|[^B]|B[^E]|BE[^G]|BEG[^I]|BEGI[^N]|BEGIN[^ ]|BEGIN [^P]\ > |BEGIN P[^G]|BEGIN PG[^P])) > > Some implementations don't support empty alternation, so that could be > changed with the ? syntax, since (|a) and (a?) are the same. Uh... Eric? Would it be ok to use it as a shocker example on the basic UNIX courses I do? Julf